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

Can't manually promote build with approval parameter

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Promoted build plugin version 2.5, it works with version 2.4

      I have a job configured with a manually approved + approval parameter promotion.

      When I try to promoted the build using the "Approve" button to pass the parameters I get an error 500 with this stack trace:

      java.lang.IllegalArgumentException: THE_NAME_OF_THE_JENKINS_JOB
      at hudson.maven.ModuleName.fromString(ModuleName.java:97)
      at hudson.maven.MavenModuleSet.getItem(MavenModuleSet.java:354)
      at hudson.maven.MavenModuleSet.getItem(MavenModuleSet.java:117)
      at jenkins.model.Jenkins.getItem(Jenkins.java:2159)
      at jenkins.model.Jenkins.getItem(Jenkins.java:2180)
      at hudson.plugins.promoted_builds.conditions.ManualCondition.doApprove(ManualCondition.java:148)

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: OHTAKE Tomohiro
            Path:
            src/main/java/hudson/plugins/promoted_builds/conditions/ManualCondition.java
            src/main/resources/hudson/plugins/promoted_builds/conditions/ManualCondition/index.jelly
            http://jenkins-ci.org/commit/promoted-builds-plugin/911595b92c56e2ea9f41ee5fbc0e832eb92afe8d
            Log:
            [FIXED JENKINS-13631] Can't manualy promote maven build since promoted-builds-2.5

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: OHTAKE Tomohiro Path: src/main/java/hudson/plugins/promoted_builds/conditions/ManualCondition.java src/main/resources/hudson/plugins/promoted_builds/conditions/ManualCondition/index.jelly http://jenkins-ci.org/commit/promoted-builds-plugin/911595b92c56e2ea9f41ee5fbc0e832eb92afe8d Log: [FIXED JENKINS-13631] Can't manualy promote maven build since promoted-builds-2.5
            Hide
            tholewebgods Thomas Lehmann added a comment -

            As supplement to my first two comments (and to confirm Maxime's experience): I was doing parameterless promotions which lead to the discussed error.

            I hope this fix solved it.

            Show
            tholewebgods Thomas Lehmann added a comment - As supplement to my first two comments (and to confirm Maxime's experience): I was doing parameterless promotions which lead to the discussed error. I hope this fix solved it.
            Hide
            brian Brian Murrell added a comment -

            The implication here is that everyone experiencing this needs to update their promoted builds plugin, yes? If so, to which version? Current (at the time of writing) appears to be 2.6 released on Jun 21, 2012 which surely doesn't include this fix, correct? When will an updated release be made with the fix for this bug included?

            Show
            brian Brian Murrell added a comment - The implication here is that everyone experiencing this needs to update their promoted builds plugin, yes? If so, to which version? Current (at the time of writing) appears to be 2.6 released on Jun 21, 2012 which surely doesn't include this fix, correct? When will an updated release be made with the fix for this bug included?
            Hide
            tholewebgods Thomas Lehmann added a comment -

            No it doesn't. The recent fix seems to be staged for testing. My last checkout had failed integration tests.

            Show
            tholewebgods Thomas Lehmann added a comment - No it doesn't. The recent fix seems to be staged for testing. My last checkout had failed integration tests.
            Hide
            mahoney Robert Elliot added a comment -

            Is there anything further that can be done to speed release of this fix?

            Show
            mahoney Robert Elliot added a comment - Is there anything further that can be done to speed release of this fix?

              People

              • Assignee:
                ohtake_tomohiro OHTAKE Tomohiro
                Reporter:
                apelletier Aurélien Pelletier
              • Votes:
                4 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: