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

Parameterized build parameters no longer available during promotion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • promoted-builds-plugin
    • None
    • Jenkins ver. 2.7
      Promoted Builds plugin ver 2.2.7

      Following a migration from Jenkins 1.x to 2.2.7, the 'promoted build' plugin stopped replacing most of the variables that we rely on. The PROMOTED_* built-in variables (like $PROMOTED_USER_NAME and $PROMOTED_SVN_REVISION) still work just fine. And promotion parameters work fine, too.

      But parameters of the build being promoted are no longer replaced – the parameter text remains unchanged in the tasks executed during the promotion. The build parameters are still available during the initial build, but don't seem to be available during the promotion run.

      In our particular case, we're using the variables in the extended e-mail publisher during promotion, but I've also verified the same problem when using a simple shell script in the promotion.

            Unassigned Unassigned
            pdconant Patrick Conant
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: