Skip to content

Commit

Permalink
Fix JENKINS-18936
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Aug 26, 2013
1 parent 61984df commit 3552b0e
Showing 1 changed file with 11 additions and 10 deletions.
Expand Up @@ -93,20 +93,21 @@
<f:entry title="${%Execute script only if build succeeds}">
<f:checkbox name="scriptOnlyIfSuccess" checked="${h.defaultToTrue(instance.scriptOnlyIfSuccess)}"/>
</f:entry>

<f:entry title="${%Execute script only if build fails}">
<f:checkbox name="scriptOnlyIfFailure" checked="${h.defaultToFalse(instance.scriptOnlyIfFailure)}"/>
<f:checkbox name="scriptOnlyIfFailure" checked="${instance.scriptOnlyIfFailure}"/>
</f:entry>

<j:if test="${descriptor.isMatrixProject(it)}">
<f:entry title="${%Execute script on}">
<select name="executeOn">
<j:invokeStatic var="values" className="org.jenkinsci.plugins.postbuildscript.ExecuteOn" method="values"/>
<j:forEach items="${values}" var="value">
<f:option selected="${instance.executeOn == value}">${value}</f:option>
</j:forEach>
</select>
</f:entry>
<f:entry title="${%Execute script on}">
<select name="executeOn">
<j:invokeStatic var="values" className="org.jenkinsci.plugins.postbuildscript.ExecuteOn"
method="values"/>
<j:forEach items="${values}" var="value">
<f:option selected="${instance.executeOn == value}">${value}</f:option>
</j:forEach>
</select>
</f:entry>
</j:if>


Expand Down

0 comments on commit 3552b0e

Please sign in to comment.