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

Jobs using "!{node name}" (negative expression) in a label are not listed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Jenkins 1.625.1 LTS, Label Linked Jobs 4.0.2, running on Windows Server 2012 R2.

      If you have a label expression like this:

      !Node1
      

      The Labels Dashboard shows that Node1's label is used by a job, but clicking on the link to see the actual job(s) does not show those jobs. It seems that the display of jobs that use a negative expression with a particular label (either /label/Node1 or /computer/Node1/linkedJobs) does not show those jobs. Even though the purpose of an expression like this is to exclude that label from builds, it would still be useful to be able to see where that label is being used in any way, even in a negative expression.

        1. A_jobConfig.png
          A_jobConfig.png
          75 kB
        2. B_Dashboard.png
          B_Dashboard.png
          74 kB
        3. C_node.png
          C_node.png
          64 kB
        4. D_node_linkedJobs.png
          D_node_linkedJobs.png
          73 kB
        5. E_label.png
          E_label.png
          43 kB
        6. F_label_linkedJobs.png
          F_label_linkedJobs.png
          47 kB

            dominiquebrice Dominique Brice
            medianick Nick Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: