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.

          Christian Höltje created issue -

          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...
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143608 ] New: JNJira + In-Review [ 175954 ]
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-9586 [ JENKINS-9586 ]

          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...
          Christian Höltje made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: