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

Use wild card to search for node labels

    Details

    • Similar Issues:

      Description

      On my jenkins the labels are setup as "TopLevel.1stLevel.2ndLevel". Some jobs only care about 1stLevel grouping while some want to go nodes only from 2ndLevel. But the problem is that I can't do a contains search on the label in pipeline script.

      It would be nice to be able to look up nodes in the 1st Level grouping without creating additional labels just for that level.
      Or Is there a better way to approach the search/labeling?

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Have you tried https://plugins.jenkins.io/label-linked-jobs or other such plugins?

          Show
          oleg_nenashev Oleg Nenashev added a comment - Have you tried https://plugins.jenkins.io/label-linked-jobs or other such plugins?
          Hide
          shubhamv Shubham Verma added a comment -

          Oleg Nenashev Ah, no I haven't tried that plugin. My approach to this was a bit tunnel visioned, I'll try looking up other similar plugins. Thanks!

          Show
          shubhamv Shubham Verma added a comment - Oleg Nenashev Ah, no I haven't tried that plugin. My approach to this was a bit tunnel visioned, I'll try looking up other similar plugins. Thanks!

            People

            • Assignee:
              Unassigned
              Reporter:
              shubhamv Shubham Verma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: