How can I guarantee that there is only one if some Jenkins assignment is completed?

I have several integration tests in my Jenkins work. They run on multiple application servers, and I want to make sure that one application server at a time is performed only test task one's .

I need something like a tag or variable in my tasks, which create a group of tasks and then set up the logic inside this group, only one task can work at a time.

Can I use an exception module for this? Does anyone have any experience?

+4
source share
2 answers

. Locks Latches , .

: " A" 1 " B" , ( , 1), , "".

, , - Jenkins, .

+5

, , . .

, . . . (1 slave = 1 ). , . , , . ( node), .

, , .

0

All Articles