[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-08-03 Thread r...@lidalia.org.uk (JIRA)














































Robert Elliot
 commented on  JENKINS-13631


Can't manually promote build with approval parameter















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



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-07-05 Thread t.lehm...@strato-rz.de (JIRA)














































Thomas Lehmann
 commented on  JENKINS-13631


Can't manually promote build with approval parameter















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



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-07-05 Thread br...@whamcloud.com (JIRA)














































Brian Murrell
 commented on  JENKINS-13631


Can't manually promote build with approval parameter















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?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-07-05 Thread t.lehm...@strato-rz.de (JIRA)














































Thomas Lehmann
 commented on  JENKINS-13631


Can't manually promote build with approval parameter















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.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-07-05 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-13631 as Fixed


Can't manually promote build with approval parameter
















Change By:


SCM/JIRA link daemon
(05/Jul/12 7:50 AM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-07-05 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-13631


Can't manually promote build with approval parameter















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































This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-07-05 Thread ohtake_tomoh...@java.net (JIRA)















































OHTAKE Tomohiro
 assigned  JENKINS-13631 to OHTAKE Tomohiro



Can't manually promote build with approval parameter
















Change By:


OHTAKE Tomohiro
(05/Jul/12 7:32 AM)




Assignee:


OHTAKE Tomohiro



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-06-28 Thread maxime....@gmail.com (JIRA)














































Maxime Lemanissier
 commented on  JENKINS-13631


Can't manually promote build with approval parameter















Problem reproducible with version 2.6, and confirming that it works with 2.4.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-15 Thread t.lehm...@strato-rz.de (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162785#comment-162785
 ] 

Thomas Lehmann commented on JENKINS-13631:
--

Works in Firefox 12 too: just install and activate Greasemonkey and klick the 
attached Script link and answer Yes on the install dialog. (Deactivate 
Greasemonkey to open the script wihtout installing it to what it does :)

> 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, 
> 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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-15 Thread t.lehm...@strato-rz.de (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Lehmann updated JENKINS-13631:
-

Attachment: fix-missing-slash-in-job-name.user.js

Updated Patch: fix all forms on the current page

> 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, 
> 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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-11 Thread t.lehm...@strato-rz.de (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162616#comment-162616
 ] 

Thomas Lehmann edited comment on JENKINS-13631 at 5/11/12 12:27 PM:


I guess I realize what the problem is (however I am not familar with 
Jenkins/Hudson nor with the promote plugin).
The passed job name is "NAME-OF-THE-JOB". I've debugged the calls and tried to 
reverse engineer what Jenkins.getItem() does. After that I've tried to pass 
"/NAME-OF-THE-JOB". It dit not fail with an exception and responded with 200 
OK. After that the promotion was marked approved. So I think this did the 
trick. Even though I do not know if this is correct. :)

Bad request:
$ curl -X POST --cookie "JSESSIONID.*; JSESSIONID.*" --form-string 
'_.=NAME-OF-THE-USER' --form-string 'json={"": "NAME-OF-THE-USER"}' 
--form-string 'Submit=Approve'  
'http://localhost:8070/job/NAME-OF-THE-BUILD/9/promotion/promotionProcess/Release%20Approved/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve?job=NAME-OF-THE-BUILD&buildNumber=9&promotion=Release%20Approved'

Good request:
$ curl -X POST --cookie "JSESSIONID.*; JSESSIONID.*" --form-string 
'_.=NAME-OF-THE-USER' --form-string 'json={"": "NAME-OF-THE-USER"}' 
--form-string 'Submit=Approve' 
'http://localhost:8070/job/NAME-OF-THE-BUILD/9/promotion/promotionProcess/Release%20Approved/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve?job=/NAME-OF-THE-BUILD&buildNumber=9&promotion=Release%20Approved'

As this works for me I'll write a Greasemonkey script to workaround this by 
patching the formular.

Please give me feedback if the missing slash prefix is the error.

Edit: changed job name to a capitalized "variable"

  was (Author: tholewebgods):
I guess I realize what the problem is (however I am not familar with 
Jenkins/Hudson nor with the promote plugin).
The passed job name is "NAME-OF-THE-JOB". I've debugged the calls and tried to 
reverse engineer what Jenkins.getItem() does. After that I've tried to pass 
"/NAME-OF-THE-JOB". It dit not fail with an exception and responded with 200 
OK. After that the promotion was marked approved. So I think this did the 
trick. Even though I do not know if this is correct. :)

Bad request:
$ curl -X POST --cookie "JSESSIONID.*; JSESSIONID.*" --form-string 
'_.=NAME-OF-THE-USER' --form-string 'json={"": "NAME-OF-THE-USER"}' 
--form-string 'Submit=Approve'  
'http://localhost:8070/job/Build-1/9/promotion/promotionProcess/Release%20Approved/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve?job=Build-1&buildNumber=9&promotion=Release%20Approved'

Good request:
$ curl -X POST --cookie "JSESSIONID.*; JSESSIONID.*" --form-string 
'_.=NAME-OF-THE-USER' --form-string 'json={"": "NAME-OF-THE-USER"}' 
--form-string 'Submit=Approve' 
'http://localhost:8070/job/Build-1/9/promotion/promotionProcess/Release%20Approved/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve?job=/Build-1&buildNumber=9&promotion=Release%20Approved'

As this works for me I'll write a Greasemonkey script to workaround this by 
patching the formular.

Please give me feedback if the missing slash prefix is the error.
  
> 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

[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-09 Thread t.lehm...@strato-rz.de (JIRA)

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

  was (Author: tholewebgods):
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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-09 Thread t.lehm...@strato-rz.de (JIRA)

[ 
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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-09 Thread t.lehm...@strato-rz.de (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Lehmann updated JENKINS-13631:
-

Attachment: fix-missing-slash-in-job-name.user.js

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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-09 Thread t.lehm...@strato-rz.de (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162616#comment-162616
 ] 

Thomas Lehmann commented on JENKINS-13631:
--

I guess I realize what the problem is (however I am not familar with 
Jenkins/Hudson nor with the promote plugin).
The passed job name is "NAME-OF-THE-JOB". I've debugged the calls and tried to 
reverse engineer what Jenkins.getItem() does. After that I've tried to pass 
"/NAME-OF-THE-JOB". It dit not fail with an exception and responded with 200 
OK. After that the promotion was marked approved. So I think this did the 
trick. Even though I do not know if this is correct. :)

Bad request:
$ curl -X POST --cookie "JSESSIONID.*; JSESSIONID.*" --form-string 
'_.=NAME-OF-THE-USER' --form-string 'json={"": "NAME-OF-THE-USER"}' 
--form-string 'Submit=Approve'  
'http://localhost:8070/job/Build-1/9/promotion/promotionProcess/Release%20Approved/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve?job=Build-1&buildNumber=9&promotion=Release%20Approved'

Good request:
$ curl -X POST --cookie "JSESSIONID.*; JSESSIONID.*" --form-string 
'_.=NAME-OF-THE-USER' --form-string 'json={"": "NAME-OF-THE-USER"}' 
--form-string 'Submit=Approve' 
'http://localhost:8070/job/Build-1/9/promotion/promotionProcess/Release%20Approved/promotionCondition/hudson.plugins.promoted_builds.conditions.ManualCondition/approve?job=/Build-1&buildNumber=9&promotion=Release%20Approved'

As this works for me I'll write a Greasemonkey script to workaround this by 
patching the formular.

Please give me feedback if the missing slash prefix is the error.

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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-05-09 Thread t.lehm...@strato-rz.de (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162613#comment-162613
 ] 

Thomas Lehmann commented on JENKINS-13631:
--

I can reproduce this bug with Jenkins 1.462, Promoted Builds 2.5 and "OpenJDK 
Runtime Environment (IcedTea6 1.10.6) (fedora-63.1.10.6.fc15-x86_64)"

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




[JIRA] (JENKINS-13631) Can't manually promote build with approval parameter

2012-04-27 Thread aurelien.pellet...@gmail.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aurélien Pelletier updated JENKINS-13631:
-

Summary: Can't manually promote build with approval parameter  (was: Can't 
manually promote build with )

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




[JIRA] (JENKINS-13631) Can't manually promote build with

2012-04-27 Thread aurelien.pellet...@gmail.com (JIRA)
Aurélien Pelletier created JENKINS-13631:


 Summary: Can't manually promote build with 
 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


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