如何同时在控制器上的作业中同时运行2个Jenkins代理
我有一个带有Maven的Selenium Automation项目,目前我正在使用XML文件在本地运行测试用例的批次。
现在,我需要在詹金斯(Jenkins)运行整个套件,为此,我有2个代理EC2实例。我为这两个代理配置了两个XML文件,以将套件划分。现在我可以单独构建它们。
我正在寻找一种解决方案,以同时触发我的两个代理商,当时主要是在构建主要工作时,以便我可以与詹金斯管道(Jenkins Pipeline)同样执行它们。
I have a selenium automation project with Maven and I am currently using XML files to run the batches of test cases locally.
Now I have a requirement to run the whole suite in Jenkins, and for that, I have 2 agent EC2 instances with the project. I configured two XML files for those two agents to divide the suite among them. Now I can build them separately.
I am looking for a solution to trigger both my agents at the same time when the job on the main is being built so that I can parallely execute them with my Jenkins pipeline.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
标记您的两个实例,假设
label1
和label2
然后..
Label both your instances, lets say
label1
andlabel2
then..