Skip to content
Permalink
Browse files
[FIXED JENKINS-17110] Build Now should be GET for parameterized jobs.
  • Loading branch information
jglick committed Apr 9, 2013
1 parent 7251965 commit 97da1618c52792bd675f8677b7e18df629f80eb7
Showing with 4 additions and 2 deletions.
  1. +3 −1 changelog.html
  2. +1 −1 core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
@@ -55,7 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
“Build Now” context menu item broken for parameterized jobs.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-17110">issue 17110</a>)
</ul>
</div><!--=TRUNK-END=-->

@@ -46,7 +46,7 @@ THE SOFTWARE.
<j:if test="${it.configurable}">
<j:if test="${it.buildable}">
<l:task icon="images/24x24/clock.png" href="${url}/build?delay=0sec" title="${it.buildNowText}"
onclick="${it.parameterized?null:'return build(this)'}" post="true" permission="${it.BUILD}"/>
onclick="${it.parameterized?null:'return build(this)'}" post="${!it.parameterized}" permission="${it.BUILD}"/>
<script>
function build(a) {
new Ajax.Request(a.href);

0 comments on commit 97da161

Please sign in to comment.