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

Promotion permalinks not offered when job name is parameterized

      If you specify an upstream job with a promotion process, and select the permalink option, you are able to request a permalink corresponding to the last promotion. (Eventually—for some reason the pulldown does not refresh very reliably so you have to click around a few times to get it to appear.)

      But if the upstream job is defined as $SOME_PARAMETER, the pulldown only shows standard permalinks, so there is no apparent way to request the promotion from the UI.(Presumably you could edit config.xml directly.)

          [JENKINS-22590] Promotion permalinks not offered when job name is parameterized

          Jesse Glick added a comment -

          Should this pulldown just be made into an editable combo box? Or text field with completion?

          Jesse Glick added a comment - Should this pulldown just be made into an editable combo box? Or text field with completion?

          Glenn Poston added a comment -

          Id really like to see this fixed. We have a parameterized build that uses the parameter to specify the project name. I would like to be able to copy the artifacts from latest promoted build from that project.

          Also note that editing config.xml directly does not work.

          Glenn Poston added a comment - Id really like to see this fixed. We have a parameterized build that uses the parameter to specify the project name. I would like to be able to copy the artifacts from latest promoted build from that project. Also note that editing config.xml directly does not work.

          Jesse Glick added a comment -

          Editing config.xml directly (via POST, for example) does work as a workaround in my experiments.

          Jesse Glick added a comment - Editing config.xml directly (via POST, for example) does work as a workaround in my experiments.

          Jesse Glick added a comment -

          This was merged; maybe JIRA autolinker is dead again.

          Jesse Glick added a comment - This was merged; maybe JIRA autolinker is dead again.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java
          src/main/resources/hudson/plugins/copyartifact/PermalinkBuildSelector/config.jelly
          http://jenkins-ci.org/commit/copyartifact-plugin/15d52b10ccc4290e8303e2f8f5fca4ef06a1f89e
          Log:
          [FIXED JENKINS-22590] Use a combobox, not a pulldown, for permalink selection.
          Enables a promotion name to be specified even when the upstream job name is not statically known.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java src/main/resources/hudson/plugins/copyartifact/PermalinkBuildSelector/config.jelly http://jenkins-ci.org/commit/copyartifact-plugin/15d52b10ccc4290e8303e2f8f5fca4ef06a1f89e Log: [FIXED JENKINS-22590] Use a combobox, not a pulldown, for permalink selection. Enables a promotion name to be specified even when the upstream job name is not statically known.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java
          src/main/resources/hudson/plugins/copyartifact/PermalinkBuildSelector/config.jelly
          http://jenkins-ci.org/commit/copyartifact-plugin/4c6e9781192b0a92b2ae9a34cb24346e2c6a8a0d
          Log:
          Merge pull request #34 from jglick/permalink-combobox-JENKINS-22590

          [FIXED JENKINS-22590] Use a combobox, not a pulldown, for permalink selection

          Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/59d7982cdd39...4c6e9781192b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java src/main/resources/hudson/plugins/copyartifact/PermalinkBuildSelector/config.jelly http://jenkins-ci.org/commit/copyartifact-plugin/4c6e9781192b0a92b2ae9a34cb24346e2c6a8a0d Log: Merge pull request #34 from jglick/permalink-combobox- JENKINS-22590 [FIXED JENKINS-22590] Use a combobox, not a pulldown, for permalink selection Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/59d7982cdd39...4c6e9781192b

          ikedam added a comment -

          Released the fix in copyartifact 1.31.

          ikedam added a comment - Released the fix in copyartifact 1.31.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: