Package buildbot :: Package steps :: Module vstudio :: Class VisualStudio
[frames] | no frames]

Class VisualStudio

source code

process.properties.PropertiesMixin --+            
                                     |            
           process.buildstep.BuildStep --+        
                                         |        
        process.buildstep.LoggingBuildStep --+    
                                             |    
                            shell.ShellCommand --+
                                                 |
                                                VisualStudio
Known Subclasses:

Instance Methods
 
__init__(self, installdir=None, mode='rebuild', projectfile=None, config=None, useenv=False, project=None, INCLUDE=[], LIB=[], PATH=[], **kwargs) source code
 
setupProgress(self) source code
 
setupLogfiles(self, cmd, logfiles) source code
 
setupInstalldir(self) source code
 
setupEnvironment(self, cmd) source code
 
describe(self, done=False)
Return a list of short strings to describe this step, for the status display.
source code
 
createSummary(self, log) source code
 
evaluateCommand(self, cmd) source code
 
finished(self, result) source code

Inherited from shell.ShellCommand: buildCommandKwargs, getWorkdir, setBuild, setCommand, setDefaultWorkdir, setStepStatus, start

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, commandComplete, getText, getText2, interrupt, maybeGetText2, setStatus, startCommand

Inherited from process.buildstep.BuildStep: __provides__, acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, getLog, getSlaveName, getStepFactory, releaseLocks, runCommand, setBuildSlave, setProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Inherited from process.properties.PropertiesMixin: __providedBy__, getProperties, getProperty, hasProperty, has_key, render, setProperty

Class Variables
  name = 'compile'
  description = 'compiling'
  descriptionDone = 'compile'
  logobserver = None
hash(x)
  installdir = None
hash(x)
  default_installdir = None
hash(x)
  mode = 'rebuild'
  projectfile = None
hash(x)
  config = None
hash(x)
  useenv = False
  project = None
hash(x)
  PATH = []
  INCLUDE = []
  LIB = []
  renderables = ['projectfile', 'config', 'project']

Inherited from shell.ShellCommand: flunkOnFailure

Inherited from process.buildstep.LoggingBuildStep: cmd, parms, progressMetrics

Inherited from process.buildstep.BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnWarnings, haltOnFailure, hideStepIf, locks, progress, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Instance Variables

Inherited from shell.ShellCommand: command, lazylogfiles, logfiles

Method Details

__init__(self, installdir=None, mode='rebuild', projectfile=None, config=None, useenv=False, project=None, INCLUDE=[], LIB=[], PATH=[], **kwargs)
(Constructor)

source code 
Overrides: process.buildstep.BuildStep.__init__

setupProgress(self)

source code 
Overrides: process.buildstep.BuildStep.setupProgress

setupLogfiles(self, cmd, logfiles)

source code 
Overrides: process.buildstep.LoggingBuildStep.setupLogfiles

setupEnvironment(self, cmd)

source code 
Overrides: shell.ShellCommand.setupEnvironment

describe(self, done=False)

source code 

Return a list of short strings to describe this step, for the status display. This uses the first few words of the shell command. You can replace this by setting .description in your subclass, or by overriding this method to describe the step better.

Parameters:
  • done - whether the command is complete or not, to improve the way the command is described. done=False is used while the command is still running, so a single imperfect-tense verb is appropriate ('compiling', 'testing', ...) done=True is used when the command has finished, and the default getText() method adds some text, so a simple noun is appropriate ('compile', 'tests' ...)
Overrides: process.buildstep.BuildStep.describe

createSummary(self, log)

source code 
Overrides: process.buildstep.LoggingBuildStep.createSummary

evaluateCommand(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.evaluateCommand

finished(self, result)

source code 
Overrides: process.buildstep.BuildStep.finished