Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-9588] failed to Re-execute promotion if promotion buil…
…ds plugin is disabled.
  • Loading branch information
ssogabe committed May 4, 2011
1 parent 2abeca2 commit 7948136
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2,7 +2,7 @@
<d:taglib uri="local">
<d:tag name="re-promote-button">
<j:choose>
<j:when test="${it.canPromote()}">
<j:when test="${it.getPromotionProcess(p.name)!=null and it.canPromote()}">
<form style="float:right" method="post" action="${p.name}/build">
<input type="submit" value="${%Re-execute promotion}"/>
</form>
Expand Down Expand Up @@ -86,7 +86,7 @@
<img src="${imagesURL}/32x32/star.gif"/> ${p.name}
</h2>
<j:choose>
<j:when test="${it.canPromote()}">
<j:when test="${it.getPromotionProcess(p.name)!=null and it.canPromote()}">
<form style="float:right" method="post" action="forcePromotion?name=${p.name}">
<input type="submit" value="${%Force promotion}"/>
</form>
Expand Down

0 comments on commit 7948136

Please sign in to comment.