Ticket #414: alwaysrun-docs.patch

File alwaysrun-docs.patch, 2.1 KB (added by catlee, 4 years ago)

Add documentation for the alwaysRun flag

  • docs/buildbot.texinfo

    diff --git a/docs/buildbot.texinfo b/docs/buildbot.texinfo
    index 9a1c674..5b2989e 100644
    a b used to give a name to any LogFiles created by this step. 
    42214221 
    42224222@item haltOnFailure 
    42234223if True, a FAILURE of this build step will cause the build to halt 
    4224 immediately with an overall result of FAILURE. 
     4224immediately with an overall result of FAILURE. Steps with 
     4225@code{alwaysRun=True} are still run. 
    42254226 
    42264227@item flunkOnWarnings 
    42274228when True, a WARNINGS or FAILURE of this build step will mark the 
    executed. 
    42404241when True, a FAILURE of this build step will mark the overall build as 
    42414242having WARNINGS. The remaining steps will still be executed. 
    42424243 
     4244@item alwaysRun 
     4245if True, this build step will always be run, even if a previous buildstep 
     4246with @code{haltOnFailure=True} has failed. 
     4247 
    42434248@item locks 
    42444249a list of Locks (instances of @code{buildbot.locks.SlaveLock} or 
    42454250@code{buildbot.locks.MasterLock}) that should be acquired before 
    Each step can affect the build process in the following ways: 
    61846189If the step's @code{haltOnFailure} attribute is True, then a failure 
    61856190in the step (i.e. if it completes with a result of FAILURE) will cause 
    61866191the whole build to be terminated immediately: no further steps will be 
    6187 executed. This is useful for setup steps upon which the rest of the 
    6188 build depends: if the CVS checkout or @code{./configure} process 
    6189 fails, there is no point in trying to compile or test the resulting 
    6190 tree. 
     6192executed, with the exception of steps with @code{alwaysRun} set to 
     6193True. @code{haltOnFailure} is useful for setup steps upon which the 
     6194rest of the build depends: if the CVS checkout or @code{./configure} 
     6195process fails, there is no point in trying to compile or test the 
     6196resulting tree. 
     6197 
     6198@item 
     6199If the step's @code{alwaysRun} attribute is True, then it will always 
     6200be run, regardless of if previous steps have failed. This is useful 
     6201for cleanup steps that should always be run to return the build 
     6202directory or build slave into a good state. 
    61916203 
    61926204@item 
    61936205If the @code{flunkOnFailure} or @code{flunkOnWarnings} flag is set,