When activating this option, triggered builds will be run synchronously. The
result of the current build step or the current build can then be controlled
using the three following options:
- Fail this build step if the triggered build is worse or equal to:
This option takes precedence over the two following ones if its value is not
never. In that case, the result of the current build step (that is,
success or failure) is based on the result of the triggered builds. If the
condition defined for at least one of the triggered build is met, then the
build step will be considered as failed.
- Mark this build as failure if the triggered build is worse or equal to:
This option takes precedence over the next one if its value is not set to
never. In that case, the current build will be considered as failed
based on the result of the triggered builds and the value of the option.
- Mark this build as unstable if the triggered build is worse or equal to:
This option is taken into account if its value is not never. In that
case, the build will be considered as unstable based on the result of the
triggered builds and the value of this option.
With this option enabled the builds for the projects triggered are available as
Env variables for future build steps
- LAST_TRIGGERED_JOB_NAME="Last project started"
- TRIGGERED_JOB_NAMES="Comma separated list of all triggered projects"
- TRIGGERED_BUILD_NUMBER_<project name>="Last build number
triggered"
- TRIGGERED_BUILD_NUMBERS_<project name>="Comma separated
list of build numbers triggered"
- TRIGGERED_BUILD_RESULT_<project name>="Last triggered build
result of project"
- TRIGGERED_BUILD_RESULT_<project name>_RUN_<build number>=
"Result of triggered build for build number"
- TRIGGERED_BUILD_RUN_COUNT_<project name>=
"Number of builds triggered for the project"
All Project names have characters not a-zA-Z or 0-9 replaced by
_(multiple characters are condensed into a single _).