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

Release 1.7 of dramatically changes the behaviour of this plugin - A mode to switch between the two behaviours should exist.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Before this change in 1.7 when running a job against node "all" it would randomly select one of the nodes with this label. I use a control job which loops around an array of things to build and despatches them to another job, which runs on a random node using this plugin...

      This change in 1.7 now means the job runs on ALL the nodes simultaneously, which dramatically changes the behaviour of this plugin which has been the same for a number of years.

      Since upgrading my build machines, including the Jenkins plugins they use, I have had to revert this plugin back to use nodelabelparameter 1.5.1

      I suggest that since the change (although claimed to be a bug) was the known behaviour of this plugin, which a number of users have been running with workarounds to achieve their desired effect. Changing the behaviour in this manner is rather drastic, and some way to switch back on the old behaviour should be provided to allow backwards compatibility for legacy users.

      Otherwise I will need to pin this plugin version in my company build infrastructure meaning we miss out on other new features and bug fixes.

      https://issues.jenkins-ci.org/browse/JENKINS-22185

        Attachments

          Activity

          Hide
          duncanbell Duncan Bell added a comment -

          After further testing it appears I can achieve the old behaviour by unchecking the "Run on all nodes matching the label" box.

          Show
          duncanbell Duncan Bell added a comment - After further testing it appears I can achieve the old behaviour by unchecking the "Run on all nodes matching the label" box.

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            duncanbell Duncan Bell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: