Putting a wildcard/regex expression in node/label restriction in Jenkins

不想你离开。 提交于 2019-12-06 10:56:39

I don't believe that field can handle regular expressions, but you don't have to specify the name of the slave; you can specify a label associated with the slave.

When you create the slave, assign a label (or labels) to it. Assign the same label to all of the slaves that are suitable for that job. In the job, restrict it to run only on that label. A slave that has label can run that job.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!