Jenkins Load Balancing - Automatic routing on othe

2019-08-02 07:43发布

Now I would like to describe the following problem on my part here.

We have several test systems that previously had the problem that start the Jenkins Jobs simultaneously. I would like to avoid this by providing some kind of recognition. It's about distributing the started Jenkins jobs on our test machines.

Example:

Test 1 runs at the customer - Test 2 should recognize this

For example, if test-1 is occupied by Job1, it should be recognized at the start of Job 2 and then automatically routed to one of the free test machines.

1条回答
爷的心禁止访问
2楼-- · 2019-08-02 08:07

Manage Jenkins> Manage Nodes > Node > Configure

You must set same label names for different nodes.

Restrict where this project can be run = new label name

(You must install 'Least Load plugin')

查看更多
登录 后发表回答