Skip to content

Commit

Permalink
[FIXED JENKINS-17110] Build Now should be GET for parameterized jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Apr 9, 2013
1 parent 7251965 commit 97da161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog.html
Expand Up @@ -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=-->

Expand Down
Expand Up @@ -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);
Expand Down

0 comments on commit 97da161

Please sign in to comment.