Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42607

Should choose free node (all executors in the node are free) to build first

    Details

    • Similar Issues:

      Description

      We have 10 slave nodes and each slave has 8 executors.

      We have 3 categories and maximum Concurrent Builds Per Node = 1 for each category.
      Each category is used for each project group (A, B, C)

      The plugin should choose free nodes (all executors are free) first to build if there is at least one free node.
      Because if we run many builds on the same node, it's slow to access I/O.
      It seems that Jenkins selects any node that has free executors, even we have a free node.
      If Group A is building on node 1, group B should choose a free node if it has.
      Group B should not choose node 1 even there are free executors.

      If this request is valid, I can send a pull request to merge this support.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          I do not think this is a feature request for the TCB plugin since it can be done in the standalone plugin. And there are already such ones, e.g. https://wiki.jenkins-ci.org/display/JENKINS/Least+Load+Plugin

          Show
          oleg_nenashev Oleg Nenashev added a comment - I do not think this is a feature request for the TCB plugin since it can be done in the standalone plugin. And there are already such ones, e.g. https://wiki.jenkins-ci.org/display/JENKINS/Least+Load+Plugin
          Hide
          dattran_vn01 Dat Tran added a comment -

          Thank you so much, I should close the ticket now

          Show
          dattran_vn01 Dat Tran added a comment - Thank you so much, I should close the ticket now
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Dat Tran thanks for the proposal anyway. The referenced plugin definitely does not implement "Group B should not choose node 1 even there are free executors." from the requirements. If you already have a ready code for it, please provide a link to that. Then we could discuss how it could be implemented properly (and in which plugin)

          Show
          oleg_nenashev Oleg Nenashev added a comment - Dat Tran thanks for the proposal anyway. The referenced plugin definitely does not implement "Group B should not choose node 1 even there are free executors." from the requirements. If you already have a ready code for it, please provide a link to that. Then we could discuss how it could be implemented properly (and in which plugin)

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              dattran_vn01 Dat Tran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: