[
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162619#comment-162619
]
Thomas Lehmann edited comment on JENKINS-13631 at 5/9/12 6:16 PM:
------------------------------------------------------------------
Attached user script.
Successfully tested with recent Chrome. Not tested with Firefox/Greasemonkey or
Safari.
Install by opening this file in your browser (browse to
file:///path/to/fix-missing-slash-in-job-name.user.js).
Adapt the match URL.
was (Author: tholewebgods):
Attached user script.
Successfully tested with recent Chrome. Not tested with Firefox/Greasemonkey or
Safari.
Install by opening this file in your browser (browse to
file:///path/to/fix-missing-slash-in-job-name.user.js).
> Can't manually promote build with approval parameter
> ----------------------------------------------------
>
> Key: JENKINS-13631
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13631
> Project: Jenkins
> Issue Type: Bug
> Components: promoted-builds
> Affects Versions: current
> Environment: debian 5
> Oracle JDK 1.6.0_12
> Jenkins 1.461
> Reporter: Aurélien Pelletier
> Labels: plugin
> Attachments: fix-missing-slash-in-job-name.user.js
>
>
> 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)
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira