Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22384

Add EnvironmentVar feature to allow people access to Remote job

      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).

          [JENKINS-22384] Add EnvironmentVar feature to allow people access to Remote job

            canuck1987 Tim Brown
            canuck1987 Tim Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: