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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

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

            docwhat 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...

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: