Answers: <p>@jayhendren indicated that:</p>
  
  <blockquote>
    <p>I think you might find the answer to your question in this SO post:
    <a href="https://stackoverflow.com/q/11024007/2777965">https://stackoverflow.com/q/11024007/2777965</a></p>
  </blockquote>
  
Answers: CC BY-SA 3.0
Answers: 2018-04-27T16:10:54.610Z
Answers: 2018-04-27T16:10:54.610Z
Answers: 030
Body: <p>In Jenkins it is possible to assign labels to nodes, e.g. somenode to nodes and then one could call somenode in the pipeline and then Jenkins will run the build on some of the nodes.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>The assumption was that Jenkins would apply round robin, i.e. the number of builds that is run on node 1 2 3 4 and 5 is equal, but actually the majority, I.e. more than 90 percent is run on node four.</p>
  
Comments: CC BY-SA 3.0
Comments: 2018-04-02T16:26:24.547Z
Comments: I'm having trouble finding a source to confirm or refute this, but I believe Jenkins has a preference towards scheduling builds on the node where the build ran most recently.  So no, it doesn't do round robin.
Comments: jayhendren
Comments: CC BY-SA 3.0
Comments: 2018-04-02T16:56:57.003Z
Comments: I think you might find the answer to your question in this SO post: https://stackoverflow.com/questions/11024007/how-can-i-modify-the-load-balancing-behavior-jenkins-uses-to-control-slaves
Comments: jayhendren
Tags: <jenkins>
Title: Should Jenkins apply round robin if nodes have the same label?
UserDisplayName: 030
ThreadText: # Should Jenkins apply round robin if nodes have the same label?
  
  (Asked by: username_0 on 2018-03-30)
  
  In Jenkins it is possible to assign labels to nodes, e.g. somenode to nodes and then one could call somenode in the pipeline and then Jenkins will run the build on some of the nodes.
  
  **Problem**
  
  The assumption was that Jenkins would apply round robin, i.e. the number of builds that is run on node 1 2 3 4 and 5 is equal, but actually the majority, I.e. more than 90 percent is run on node four.
  
  **Tags:** jenkins
  
  > **Comments:**
  > **username_1**: I'm having trouble finding a source to confirm or refute this, but I believe Jenkins has a preference towards scheduling builds on the node where the build ran most recently.  So no, it doesn't do round robin.  
  > **username_1**: I think you might find the answer to your question in this SO post: https://stackoverflow.com/questions/11024007/how-can-i-modify-the-load-balancing-behavior-jenkins-uses-to-control-slaves  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-04-27. Score: 0 | Accepted answer
  
  @username_1 indicated that:
  
  > I think you might find the answer to your question in this SO post:
  > <https://stackoverflow.com/q/11024007/2777965>
  
  
  ---
  
  