[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-10-13 Thread damien.no...@gmail.com (JIRA)














































Damien Nozay
 commented on  JENKINS-20492


Re-Execute promotion button is gone















https://github.com/jenkinsci/promoted-builds-plugin/pull/45



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-11 Thread rene.pieter....@wxs.nl (JIRA)














































Rene Kok
 commented on  JENKINS-20492


Re-Execute promotion button is gone















Fix promoted-builds-2.18-20140807.061532-2.hpi worked for me.
thanks.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-07 Thread cleciovar...@gmail.com (JIRA)














































Clecio Varjao
 updated  JENKINS-20492


Re-Execute promotion button is gone
















Change By:


Clecio Varjao
(07/Aug/14 7:00 AM)




Attachment:


promoted-builds-2.18-20140807.061532-2.hpi



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-07 Thread cleciovar...@gmail.com (JIRA)














































Clecio Varjao
 commented on  JENKINS-20492


Re-Execute promotion button is gone















Thanks Marvi and Erik, the project files were very helpful.
Anybody want to try my latest build with the fix? See Attachments



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-07 Thread cleciovar...@gmail.com (JIRA)















































Clecio Varjao
 assigned  JENKINS-20492 to Clecio Varjao



Re-Execute promotion button is gone
















Change By:


Clecio Varjao
(07/Aug/14 7:00 AM)




Assignee:


ClecioVarjao



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread cleciovar...@gmail.com (JIRA)












































 
Clecio Varjao
 edited a comment on  JENKINS-20492


Re-Execute promotion button is gone
















Can anybody provide with the job/build configuration files? You can create a new dummy job/project with some dummy promotions and send me the the whole project folder (e.g.: %JENKINS_HOME%/jobs/DUMMY-JOB) I have not been able to re-produce this behavior.

you can also use the API:
{baseurl}/view/All/job/{job_name}/config.xml
{baseurl}/view/All/job/{job_name}/promotion/process/{promotion_name}/config.xml

e.g.:
http://localhost/view/All/job/APP-TEST/config.xml
http://localhost/view/All/job/APP-TEST/promotion/process/PROM2/config.xml


What criteria are selected? 
[ ] Only when manually approved
[ ] Promote immediately once the build is complete
[ ] Promote immediately once the build is complete based on build parameters
[ ] When the following downstream projects build successfully
[ ] When the following upstream promotions are promoted


The move to the Badge is just technical term. But from the user's perspective, it shouldn't have changed.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread cleciovar...@gmail.com (JIRA)












































 
Clecio Varjao
 edited a comment on  JENKINS-20492


Re-Execute promotion button is gone
















Can anybody provide with the job/build configuration files? You can create a new dummy job/project with some dummy promotions and send me the the whole project folder (e.g.: %JENKINS_HOME%/jobs/DUMMY-JOB) I have not been able to re-produce this behavior.

you can also use the API:
{baseurl}/view/All/job/{job_name}/config.xml{baseurl}/view/All/job/{job_name}/promotion/process/{promotion_name}/config.xml

e.g.:
http://localhost/view/All/job/APP-TEST/config.xml
http://localhost/view/All/job/APP-TEST/promotion/process/PROM2/config.xml


What criteria are selected? 
[ ] Only when manually approved
[ ] Promote immediately once the build is complete
[ ] Promote immediately once the build is complete based on build parameters
[ ] When the following downstream projects build successfully
[ ] When the following upstream promotions are promoted


The move to the Badge is just technical term. But from the user's perspective, it shouldn't have changed.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread ma...@marvi.it (JIRA)














































Marvi Benedet
 updated  JENKINS-20492


Re-Execute promotion button is gone
















Change By:


Marvi Benedet
(06/Aug/14 7:06 AM)




Attachment:


bug.tgz



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread ma...@marvi.it (JIRA)














































Marvi Benedet
 updated  JENKINS-20492


Re-Execute promotion button is gone
















bug project folder





Change By:


Marvi Benedet
(06/Aug/14 7:10 AM)




Attachment:


bug.tgz



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread ma...@marvi.it (JIRA)














































Marvi Benedet
 commented on  JENKINS-20492


Re-Execute promotion button is gone















seems I'm not allowed to upload files here
I lost also the commet I wrote. I rewrite it here:

Here my job. Note that I'm using AD authentication and there is a user with a numerical ID that is authorized to approve the promotion.
This user is also administrator of the whole jenkins, so it can "force the promotions"

the only selected criteria is:

X Only when manually approved

BUT attention: if I promote regularly with the "approve" button all is ok. The problem came only when I use the "force promotion" button.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread ma...@marvi.it (JIRA)














































Marvi Benedet
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I sent you by mail a tgz of a job that show the problem. 
Bye Marvi



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread cleciovar...@gmail.com (JIRA)














































Clecio Varjao
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I was able to reproduce by using "Force Promotion" instead of "Promote". I am wondering if that is everybody case?
The problem with "Force Promotion" is that it will ONLY work for promotion with NO parameters.
In my organization, we NEVER use force promotion.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-06 Thread eylvisa...@gmail.com (JIRA)














































Erik Ylvisaker
 updated  JENKINS-20492


Re-Execute promotion button is gone
















I've attached a job with this issue.

Yes, I only have this issue when force promotion is used. If a promotion is forced and then fails, there is no way to redo the promotion. 

A problem which was leading me to use force promotion: if a promotion has some improperly set criteria then it is impossible to do a regular promotion. For example, if "When the following upstream promotions are promoted" is checked but the box for it is not filled out, clicking Approve will give the "Re-execute Promotion" button, but the promotion will never execute. It does not give any reason why, but it will say upstream promotions under unmet qualifications, but the upstream promotions is blank so that doesn't really indicate anything. If you click the "Re-execute Promotion" button again, you get a 404 error. The only option at that point is to force the promotion, and if it fails you are then completely unable to execute the promotion. I did not check if this also occurs for other invalid settings than the "upstream promotions are promoted" setting.





Change By:


Erik Ylvisaker
(07/Aug/14 4:15 AM)




Attachment:


JenkinsBugTest.zip



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-05 Thread cleciovar...@gmail.com (JIRA)














































Clecio Varjao
 commented on  JENKINS-20492


Re-Execute promotion button is gone















Can anybody provide with the job/build configuration files? I have not been able to re-produce this behavior.
What criteria are selected? 
[ ] Only when manually approved
[ ] Promote immediately once the build is complete
[ ] Promote immediately once the build is complete based on build parameters
[ ] When the following downstream projects build successfully
[ ] When the following upstream promotions are promoted


The move to the Badge is just technical term. But from the user's perspective, it shouldn't have changed.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-05 Thread cleciovar...@gmail.com (JIRA)












































 
Clecio Varjao
 edited a comment on  JENKINS-20492


Re-Execute promotion button is gone
















Can anybody provide with the job/build configuration files? You can create a new dummy job/project with some dummy promotions and send me the the whole project folder (e.g.: %JENKINS_HOME%/jobs/DUMMY-JOB) I have not been able to re-produce this behavior.

What criteria are selected? 
[ ] Only when manually approved
[ ] Promote immediately once the build is complete
[ ] Promote immediately once the build is complete based on build parameters
[ ] When the following downstream projects build successfully
[ ] When the following upstream promotions are promoted


The move to the Badge is just technical term. But from the user's perspective, it shouldn't have changed.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-03 Thread scrobe...@gmail.com (JIRA)














































Scott Roberts
 commented on  JENKINS-20492


Re-Execute promotion button is gone















The only work around I found for this issue is to make sure you do an 'Approve' promotion first instead of 'Force Promotion'.  If you do a force promotion first, there is no re-execute.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-03 Thread t...@starmobileinc.com (JIRA)














































Trey Duskin
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I don't seem to have an 'Approve' button, only a 'Force Promotion' button.  I'm doing manual approvals only, and the only thing the promotion does is trigger a downstream parameterized deploy job.  It is strange, though, because the help text indicates there should be an 'Approve' button in the UI.  I'm using plugin version 2.17 and Jenkins version 1.568



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-08-02 Thread t...@starmobileinc.com (JIRA)














































Trey Duskin
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I am also surprised to see that there is no 're-execute promotion' button.  We use the promotion function to deploy software to infrastructure.  The 're-execute promotion' on an old build would be a great way to roll back software.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-07-02 Thread vincent....@sogeti.nl (JIRA)














































Vincent Mos
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I like to add i also have problems with the Rexecute Button that is not shown. I have a job with 3 different promotion tasks. Two Of them show the reexecute button. One of them isn't. I can not find any difference in the configuration between the 3 that justifies this difference.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-06-19 Thread h4xo...@gmail.com (JIRA)














































Sam Xiao
 commented on  JENKINS-20492


Re-Execute promotion button is gone















+1 with Scott Roberts

What does it even mean by "Badge"??



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-04-03 Thread j...@refresh.io (JIRA)














































Jeff Wehrwein
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I also have this problem. The re-execute promotion option seems to disappear only when I've checked the "only when manually approved" checkbox.  If I uncheck that box, the re-execute button reappears.

The manually approved "re-execute" button just moved into the Badge:

Forgive my ignorance, but I don't understand this explanation - where exactly do I find the re-execute button then?

The previous re-execute should was preserved for the non-manual promotion (as you pointed out).

Are you saying that manual promotions are not allowed to be re-executed?  If so, why not?  Put another way, Damien Nozay pointed out an if condition for manual promotions - why does that condition exist?



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-02-23 Thread cleciovar...@gmail.com (JIRA)














































Clecio Varjao
 commented on  JENKINS-20492


Re-Execute promotion button is gone















The manually approved "re-execute" button just moved into the Badge:
https://github.com/jenkinsci/promoted-builds-plugin/blob/9395ed5d781ac93fcd6baf629e99a2f0048a05aa/src/main/resources/hudson/plugins/promoted_builds/conditions/ManualCondition/Badge/index.jelly#L12

The previous re-execute should was preserved for the non-manual promotion (as you pointed out).

Can you provide with more details of the job? what conditions do you have?



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-02-07 Thread damien.no...@gmail.com (JIRA)














































Damien Nozay
 commented on  JENKINS-20492


Re-Execute promotion button is gone















IMHO, this is coming from:
https://github.com/jenkinsci/promoted-builds-plugin/commit/9395ed5d781ac93fcd6baf629e99a2f0048a05aa


there was a change to src/main/resources/hudson/plugins/promoted_builds/PromotedBuildAction/index.jelly
which introduced a condition 
j:if test="${!p.isManuallyApproved()}"




























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [promoted-builds] (JENKINS-20492) Re-Execute promotion button is gone

2014-01-27 Thread eylvisa...@gmail.com (JIRA)














































Erik Ylvisaker
 commented on  JENKINS-20492


Re-Execute promotion button is gone















I am experiencing this same bug. If I use the Force Promotion button to promote a build the re-execute promotion button never appears and I have to kick off another build to redo a promotion. This is a pretty serious problem for me.



























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







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.