-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
The Parameterized Build plugin give people access to the following environment variables:
- - 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 good if the Remote Parameterised Plugin could give people access to at least:
- - TRIGGERED_BUILD_NUMBER_<project name>="Last build number triggered"
As we are trying to download artifacts using the lastSuccessul link, and this is failing when another job is kicked off on the remote job.
I have a POC working if you'd like the code - needs Unit Tests though (has only been bench tested).