This may be a bit too wide to fit comfortably on the Waterfall display.Īll subclasses of BuildStep will contain the description attributes.Ĭonsequently, you could add a ShellCommand step like so:įrom ugins import steps f. If neither description nor descriptionDone are set, the actual command arguments will be used to construct the description. Like description, this may either be a string or a list of short strings. This will be used to describe the command once it has finished.Ī simple noun like compile or tests should be used. The preferred form is a single, short string, but for historical reasons a list of strings is also acceptable. It should be a single imperfect-tense verb, like compiling or testing. description This will be used to describe the command (on the Waterfall display) while the command is still running. alwaysRun if True, this build step will always be run, even if a previous buildstep with haltOnFailure=True has failed. The remaining steps will still be executed. warnOnFailure when True, a FAILURE of this build step will mark the overall build as having WARNINGS. warnOnWarnings when True, a WARNINGS or FAILURE of this build step will mark the overall build as having WARNINGS. flunkOnFailure when True, a FAILURE of this build step will mark the overall build as a FAILURE. flunkOnWarnings when True, a WARNINGS or FAILURE of this build step will mark the overall build as FAILURE. This can be achieved with haltOnFailure=True, flunkOnFailure=False. In some cases, particularly series of tests, it makes sense to haltOnFailure if something fails early on but not flunkOnFailure. Generally speaking, haltOnFailure implies flunkOnFailure (the default for most BuildSteps). haltOnFailure if True, a FAILURE of this build step will cause the build to halt immediately. Since 0.9.8, this argument might be renderable. Others are used to specify which Locks (see Interlocks) should be acquired before allowing the step to run.Īrguments common to all BuildStep subclasses: name the name used to describe the step on the status display. Some of these control how their individual status affects the overall build. Common Parameters of source checkout operationsĪll BuildSteps accept some common parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |