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

Promotion permalinks not offered when job name is parameterized

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

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

            Show
            jglick Jesse Glick added a comment - Should this pulldown just be made into an editable combo box? Or text field with completion?
            Hide
            gposton1040 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.

            Show
            gposton1040 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.
            Hide
            jglick Jesse Glick added a comment -

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

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

            This was merged; maybe JIRA autolinker is dead again.

            Show
            jglick Jesse Glick added a comment - This was merged; maybe JIRA autolinker is dead again.
            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.
            Hide
            scm_issue_link 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

            Show
            scm_issue_link 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
            Hide
            ikedam ikedam added a comment -

            Released the fix in copyartifact 1.31.

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: