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

Add an option to prevent a slave from becoming the multiconf coordinator

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Please add an option to prevent certain slaves from becoming the coordinators for multiconf projects. We have several slaves with very specific configurations that are not capable to perform the coordination activities, e.g. due to very old software configurations where git does not support the required features. Right now our jobs sometimes fail because these slaves are selected arbitrarily for the coordination and we cannot do anything against this.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -
          Show
          oleg_nenashev Oleg Nenashev added a comment - Use https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Tie+Parent+Plugin for Jenkins 1.520 and below See "Advanced" options of the project in Jenkins 1.51 and above
          Hide
          languitar Johannes Wienke added a comment -

          I think both ideas model the solution the wrong way around. Basically, certain slaves cannot act as the coordinator for any job. So I really wouldn't want to add that restriction to every job on our server. And each time we add or change the slave setup we would have to do this again. Instead I just want to mark certain slaves as being an unusable at all apart from performing specifically designated tasks.

          As far as I can see, the Exclude Flighweight Task plugin somehow allows to do this.

          Show
          languitar Johannes Wienke added a comment - I think both ideas model the solution the wrong way around. Basically, certain slaves cannot act as the coordinator for any job. So I really wouldn't want to add that restriction to every job on our server. And each time we add or change the slave setup we would have to do this again. Instead I just want to mark certain slaves as being an unusable at all apart from performing specifically designated tasks. As far as I can see, the Exclude Flighweight Task plugin somehow allows to do this.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          I also recommend to consider the following plugin:
          https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin

          It allows to restrict the jobs execution on slaves.
          Now you can use RegExp to determine multi-configuration jobs, but it is possible to add more specific filters upon the request.
          Please feel free to create feature requests if required

          Show
          oleg_nenashev Oleg Nenashev added a comment - I also recommend to consider the following plugin: https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin It allows to restrict the jobs execution on slaves. Now you can use RegExp to determine multi-configuration jobs, but it is possible to add more specific filters upon the request. Please feel free to create feature requests if required

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            languitar Johannes Wienke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: