Jenkins - maximum number of concurrent jobs

后端 未结 2 992
甜味超标
甜味超标 2020-12-24 11:44

What is the maximum number of jobs I can run concurrently in Jenkins?

2条回答
  •  清歌不尽
    2020-12-24 12:02

    It's completely dependent on your hardware. If you run a single Jenkins instance with on build slaves, you can define how many concurrent build executors you want on the main configuration page at [your Jenkins URL]/configure - I've had success setting up 2 executors per CPU core available, but that will depend on what your builds do and how much CPU they need to consume.

    If you also have remote build slaves, you can set up multiple executors on those as well. Your maximum number of concurrent jobs will be (executors on master) + (number of remote slaves) * (executors per slave).

提交回复
热议问题