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

Class Compile

source code

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

Instance Methods
 
createSummary(self, log)
Match log lines against warningPattern.
source code

Inherited from WarningCountingShellCommand: __init__, addSuppression, evaluateCommand, maybeAddWarning, setDefaultWorkdir, start, uploadDone, warnExtractFromRegexpGroups, warnExtractWholeLine

Inherited from ShellCommand: checkForOldSlaveAndLogfiles, describe, setCommand, setStepStatus, setupEnvironment

Inherited from process.buildstep.LoggingBuildStep: addLogFile, 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, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Class Variables
  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: commentEmptyLineRe, directoryEnterPattern, directoryLeavePattern, suppressionFile, suppressionLineRe, warnCount, warningPattern

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

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

Instance Variables

Inherited from ShellCommand: lazylogfiles, logfiles

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

Method Details

createSummary(self, log)

source code 

Match log lines against warningPattern.

Warnings are collected into another log for this step, and the build-wide 'warnings-count' is updated.

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