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

platformlabeler: Labels aren't recognized in && expressions until a node is configured and saved.

      The platformlabelers' labels don't seem to "work" until you go into a Node and configure it and save (you don't have to change anything).

      To recreate:

      • Install the plugin
      • Create a job restricted to nodes with expression like "CentOS&&firefox&&jruby" (assuming you have a node like that)
      • Restart Jenkins
      • build the job

      Notice how it says that no nodes exist for "CentOS&&firefox&&jruby". You can click on it and it shows no nodes matching that.

      To fix:

      • Go to a node with CentOS as a label
      • configure it
      • save it (no changes needed)

      Notice how the job finds the appropriate node.

          [JENKINS-13145] platformlabeler: Labels aren't recognized in && expressions until a node is configured and saved.

          I've been using this for a while, so I suspect this is fixed now...

          Christian Höltje added a comment - I've been using this for a while, so I suspect this is fixed now...

          I hadn't seen this in a while. I currently don't use this plugin anymore, either...

          Christian Höltje added a comment - I hadn't seen this in a while. I currently don't use this plugin anymore, either...

            lifeless lifeless
            docwhat Christian Höltje
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: