Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何防止Jenkins Swarm插件将Swarm设置为标签_Jenkins_Jenkins Plugins_Jenkins Slave - Fatal编程技术网

如何防止Jenkins Swarm插件将Swarm设置为标签

如何防止Jenkins Swarm插件将Swarm设置为标签,jenkins,jenkins-plugins,jenkins-slave,Jenkins,Jenkins Plugins,Jenkins Slave,我用swarm插件设置了一个Jenkins服务器,并编写了一批autostart从属程序。我的批处理文件如下所示: java -jar swarm-client-2.2-jar-with-dependencies.jar -mode exclusive -master http://localhost:8080 -disableClientsUniqueId -username MyUser -password ***** -executors 1 -labels MySlave 我的问

我用swarm插件设置了一个Jenkins服务器,并编写了一批autostart从属程序。我的批处理文件如下所示:

java -jar swarm-client-2.2-jar-with-dependencies.jar -mode exclusive 
-master http://localhost:8080 -disableClientsUniqueId -username 
MyUser -password ***** -executors 1 -labels MySlave 
我的问题是,奴隶总是添加标签swarm

我的问题是:


我如何防止插件将swarm设置为标签?

我同情完美控制附在从属设备上的标签的愿望,不管它是否通过swarm插件连接。但是源代码使它看起来像“swarm”标签是标签列表的强制性前缀:

答案可能是,如果不使用Swarm插件并更新该行,您就无法避免该标签