Skip to content

Commit

Permalink
UI for tying jobs to labels wasn't shown in some situations.
Browse files Browse the repository at this point in the history
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36063 71c3de6d-444a-0410-be80-ed276b4c234a
  • Loading branch information
kohsuke committed Oct 19, 2010
1 parent 0f24cea commit 6f29e4f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ THE SOFTWARE.
</j:if>

<!-- master/slave -->
<j:if test="${app.labels.size() gt 1 || (it.assignedLabel!=null and it.assignedLabel!=app.selfLabel)}">
<j:if test="${app.labels.size() gt 1 || app.clouds.size() gt 0 || (it.assignedLabel!=null and it.assignedLabel!=app.selfLabel)}">
<f:optionalBlock name="hasSlaveAffinity" title="${%Restrict where this project can be run}" checked="${it.assignedLabel!=null}"
help="/help/project-config/slave.html">
<f:entry title="${%Label Expression}" field="assignedLabelString">
Expand Down

0 comments on commit 6f29e4f

Please sign in to comment.