Package buildbot :: Package steps :: Module shell :: Class Compile
[hide private]
[frames] | no frames]

Class Compile

source code

   process.buildstep.BuildStep --+            
                                 |            
process.buildstep.LoggingBuildStep --+        
                                     |        
                          ShellCommand --+    
                                         |    
               WarningCountingShellCommand --+
                                             |
                                            Compile

Instance Methods [hide private]
 
createSummary(self, log)
To create summary logs, do something like this: warnings = grep('^Warning:', log.getText()) self.addCompleteLog('warnings', warnings)
source code

Inherited from WarningCountingShellCommand: __init__, evaluateCommand

Inherited from ShellCommand: checkForOldSlaveAndLogfiles, describe, setCommand, setDefaultWorkdir, setupEnvironment, start

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

Inherited from process.buildstep.BuildStep: acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, finished, getLog, getProperty, getSlaveName, getStepFactory, releaseLocks, runCommand, setBuild, setBuildSlave, setProgress, setProperty, setStepStatus, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Class Variables [hide private]
  name = 'compile'
  haltOnFailure = 1
  flunkOnFailure = 1
  description = ['compiling']
  descriptionDone = ['compile']
  command = ['make', 'all']
a list of renderable objects (typically strings or WithProperties instances).
  OFFprogressMetrics = ('output')

Inherited from WarningCountingShellCommand: warnCount, warningPattern

Inherited from process.buildstep.LoggingBuildStep: parms, progressMetrics

Inherited from process.buildstep.BuildStep: alwaysRun, doStepIf, flunkOnWarnings, locks, useProgress, warnOnFailure, warnOnWarnings

Instance Variables [hide private]

Inherited from ShellCommand: logfiles

Inherited from process.buildstep.BuildStep: build, progress, step_status

Method Details [hide private]

createSummary(self, log)

source code 

To create summary logs, do something like this: warnings = grep('^Warning:', log.getText()) self.addCompleteLog('warnings', warnings)

Overrides: process.buildstep.LoggingBuildStep.createSummary
(inherited documentation)