简体   繁体   English

为什么Jenkins上的Maven硒项目同时运行两个并行项目?

[英]Why are maven selenium projects on Jenkins running 2 parallel projects at the same time?

Here is my problem: I have created a project to "Trigger/call builds on other projects". 这是我的问题:我创建了一个项目以“在其他项目上触发/调用构建”。 This project will be like a test-suite to kick off my other selenium projects (Which is one maven project with tests and framework) to run on Jenkins. 这个项目就像一个测试套件,开始我其他的硒项目(这是一个具有测试和框架的Maven项目),可以在Jenkins上运行。

Maven项目

When I run this test suite then it runs 2 projects at the same time and the others are queued. 当我运行此测试套件时,它将同时运行2个项目,其他项目则排队。 I want 1 project to run at a time. 我希望一次运行一个项目。

I was able to fix this through: Go to --> Manage Jenkins --> Configure System --> Change "# of executors" to 1 under the "Maven Project Configuration". 我可以通过以下方法解决此问题:转到->管理Jenkins->配置系统->在“ Maven项目配置”下将“执行者数量”更改为1。 Now it will run 1 project at a time. 现在它将一次运行一个项目。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM