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

Label display wrong when using operators in expression

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major Major
    • core
    • None
    • Jenkins ver. 1.532.2 LTS

      Behaviour:

      1. go to job configuration
      2. enable "Restrict where this project can be run"
      3. enter expression with operator, e.g. "label1&&label2"
      4. go to slave that is configured to run label1 and label2
      5. klick on label1 (link next to "Labels:")
      6. URL $your_jenkins/label/label1/? will open
      7. Project using "label1&&label2" won't be displayed, only projects that use "label1" and nothing else will be displayed

      Workaround: enter $your_jenkins/label/label1&&label2/ as URL


      Expected behaviour:

      Klicking on a label (i.e. navigating to $your_jenkins/label/label1/?) should display all jobs that actually make use of this label regardless of using it alone or in combination with other labels (via an operator).

        1. LJPa_jdk7.png
          LJPa_jdk7.png
          174 kB
        2. LJPa_macos.png
          LJPa_macos.png
          143 kB
        3. LJPa_unassigned.png
          LJPa_unassigned.png
          83 kB
        4. LJPb_jdk7.png
          LJPb_jdk7.png
          181 kB
        5. LJPb_macos.png
          LJPb_macos.png
          128 kB

            Unassigned Unassigned
            sbreitbach Steffen Breitbach
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: