0

I am trying to make 2 Jenkins agents do the same job at the same time.

2 agent's label is same:'rs'.

Project setting is "Restrict where this project can be run" selected Label Expression 'rs'.

When I click build now button, only one of the agents is working.

Is this normal? Is there a way to distribute one job to multiple agents at one click?

Thanks for your help.

Ian W
  • 4,559
  • 2
  • 18
  • 37
chi.ho
  • 11
  • 1
  • 1
    Possible duplicates: [Jenkins - How to run one housekeeping job on all nodes](https://stackoverflow.com/a/64729773/598141), [Running Jenkins job simultaneously on all nodes](https://stackoverflow.com/q/17286614/598141). Also, they are called agents, not slaves. – Ian W Mar 03 '22 at 10:05
  • It looks you are asking about parallelization for a build . See if this link is helpful https://www.jenkins.io/blog/2017/09/25/declarative-1/ – TudorIftimie Mar 03 '22 at 12:37
  • Great!! Thanks for help all of you!! – chi.ho Mar 04 '22 at 07:13

0 Answers0