提交 d9e060e2 编写于 作者: K kohsuke

If distributed build isn't enabled, slave selection drop-down shouldn't be...

If distributed build isn't enabled, slave selection drop-down shouldn't be displayed in the job config.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18027 71c3de6d-444a-0410-be80-ed276b4c234a
上级 1e63e33f
......@@ -43,7 +43,7 @@ THE SOFTWARE.
</j:if>
<!-- master/slave -->
<j:if test="${!empty(app.slaves) || it.assignedLabel!=null}">
<j:if test="${!empty(app.slaves) || (it.assignedLabel!=null and it.assignedLabel!=app.selfLabel)}">
<f:optionalBlock name="hasSlaveAffinity" title="${%Tie this project to a node}" checked="${it.assignedLabel!=null}"
help="/help/project-config/slave.html">
<f:entry title="${%Node}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册