Skip to content
Browse files
[FIXED JENKINS-17110] Build Now should be GET for parameterized jobs.…
…(cherry picked from commit 97da161)
  • Loading branch information
jglick authored and vjuranek committed Apr 14, 2013
1 parent e565acd commit 6924bad8451e225f9cc86e5038fb6bbe614ff7c2
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="">issue 17110</a>)

@@ -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}"/>
function build(a) {
new Ajax.Request(a.href);

0 comments on commit 6924bad

Please sign in to comment.