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

Allow build parameters or references to environment variables in 'Job Identifier' field

      We would like to use parametrized builds with Rundeck plugin, and pass Job Identifier as one of these parameters, however Rundeck expects that the value in the 'Job Identifier' field is a valid Job ID or UUID or reference.

      Please consider expanding Jenkins parameters in that field.

          [JENKINS-31423] Allow build parameters or references to environment variables in 'Job Identifier' field

          Evan Powell added a comment -

          I've opened a pull request implementing this functionality here: https://github.com/jenkinsci/rundeck-plugin/pull/27

          Evan Powell added a comment - I've opened a pull request implementing this functionality here: https://github.com/jenkinsci/rundeck-plugin/pull/27

          Code changed in jenkins
          User: Evan Powell
          Path:
          src/main/java/org/jenkinsci/plugins/rundeck/RundeckNotifier.java
          http://jenkins-ci.org/commit/rundeck-plugin/8ab6081062891b95dc1739b6732d3d148c645e39
          Log:
          JENKINS-31423: Expand environment variables in jobID

          • Expands any build environment variables in the jobID field
          • Warns about the lack of validation if environment variables are used
          • Handles downstream impacts of unvalidated job IDs (see: findJobId)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Evan Powell Path: src/main/java/org/jenkinsci/plugins/rundeck/RundeckNotifier.java http://jenkins-ci.org/commit/rundeck-plugin/8ab6081062891b95dc1739b6732d3d148c645e39 Log: JENKINS-31423 : Expand environment variables in jobID Expands any build environment variables in the jobID field Warns about the lack of validation if environment variables are used Handles downstream impacts of unvalidated job IDs (see: findJobId)

          Code changed in jenkins
          User: Greg Schueler
          Path:
          src/main/java/org/jenkinsci/plugins/rundeck/RundeckNotifier.java
          http://jenkins-ci.org/commit/rundeck-plugin/7588da9d9d643ad561b596e9be5ed51ba3a39962
          Log:
          Merge pull request #27 from epowell/master

          JENKINS-31423: Expand environment variables in jobID

          Compare: https://github.com/jenkinsci/rundeck-plugin/compare/942306e9b2e9...7588da9d9d64

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Greg Schueler Path: src/main/java/org/jenkinsci/plugins/rundeck/RundeckNotifier.java http://jenkins-ci.org/commit/rundeck-plugin/7588da9d9d643ad561b596e9be5ed51ba3a39962 Log: Merge pull request #27 from epowell/master JENKINS-31423 : Expand environment variables in jobID Compare: https://github.com/jenkinsci/rundeck-plugin/compare/942306e9b2e9...7588da9d9d64

            vbehar Vincent Behar
            valdas_s Valdas Sevelis
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: