2017-05-31 111 views

回答

2

我正在寻找这个问题,以及和发现阅读哈蒂姆的回答后,执行以下操作:

本来应该显示节点标签的行注释掉: source

引用的问题JENKINS-33290Resolved随着最后评论:

通过移除功能,因为一个正确实施解决强加不可接受的复杂性和开销。

所以恐怕它不会马上回来,所有在线截图都过时了。

0

是所使用的节点的名称或标签。

请参阅本
https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/

node: Allocate node 
Allocates an executor on a node (typically a slave) and runs further code in the context of a workspace on that slave. 
label 
Computer name, label name, or any other label expression like linux && 64bit to restrict where this step builds. May be left blank, in which case any available executor is taken. 

在这种情况下,该阶段是在主执行,如果您配置詹金斯管道在型动物plateforms(主从)被执行,那么你将能够看到你的奴隶environement的标签。