如何在Jenkins中以不同顺序传递节点参数
我们有 5 个运行 tomcat 应用程序的 Windows 服务器。在Jenkins中,我们希望以一种顺序远程停止tomcat并以不同的顺序启动tomcat。
因此,我们分别为停止和启动创建了 2 个不同的作业,并在这里使用了主从方法。
当我使用参数构建时,节点参数按字母顺序传递。但我想根据要求传递不同的组合。
请协助我们在jenkins中选择如何传递Node参数。谢谢
We have 5 windows server with tomcat application running. and in Jenkins, we want to remotely stop the tomcat in one order and start the tomcat in different order.
So, we have created 2 different jobs for stop and start respectively and we used Master slave method here.
When i build with parameter, The node parameters are passed in alphabetical order. But i want to pass in different combinations based on the requirement.
Please assist how to pass Node parameters with our choice in jenkins. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论