-
Improvement
-
Resolution: Fixed
-
Major
-
None
The Parameterized Trigger Plugin, which the MultiJob Plugin depends on, makes the following environment variables available to future build steps if "Block until the triggered projects finish their builds" is enabled:
- LAST_TRIGGERED_JOB_NAME="Last project started"
- TRIGGERED_BUILD_NUMBER_<project name>="Last build number triggered"
- TRIGGERED_JOB_NAMES="Comma separated list of all triggered projects"
- 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"
It would be nice to have these for each phase (prefixed with the phase name)), too. Esp. TRIGGERED_BUILD_NUMBERS is important if artifacts need to copied from the triggered builds.
- is related to
-
JENKINS-29229 Some environment variables are not updated correctly
-
- Resolved
-
[JENKINS-25675] Provide environment variables like Parameterized Trigger Plugin
Description |
Original:
The Parameterized Trigger Plugin, which the MultiJob Plugin depends on, makes the following environment variables available to future build steps: * LAST_TRIGGERED_JOB_NAME="Last project started" * TRIGGERED_BUILD_NUMBER_<project name>="Last build number triggered" * TRIGGERED_JOB_NAMES="Comma separated list of all triggered projects" * 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" It would be nice to have these with the MultiJob Plugin, too. Esp. TRIGGERED_BUILD_NUMBERS is important if artifacts need to copied from the triggered builds. |
New:
The Parameterized Trigger Plugin, which the MultiJob Plugin depends on, makes the following environment variables available to future build steps if "Block until the triggered projects finish their builds" is enabled: * LAST_TRIGGERED_JOB_NAME="Last project started" * TRIGGERED_BUILD_NUMBER_<project name>="Last build number triggered" * TRIGGERED_JOB_NAMES="Comma separated list of all triggered projects" * 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" It would be nice to have these for each phase (prefixed with the phase name)), too. Esp. TRIGGERED_BUILD_NUMBERS is important if artifacts need to copied from the triggered builds. |
Assignee | New: Mathieu Cantin [ mcantin ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link |
New:
This issue is related to |
Workflow | Original: JNJira [ 159651 ] | New: JNJira + In-Review [ 196154 ] |