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

Orphaned jobs do not show jobs without label when all nodes set to Label restrictions

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When all nodes in Jenkins are configured with Usage : Only run jobs with Label restrictions, then jobs without a label are not shown in the Labels Dashboard under orphaned jobs.

      I think these jobs should be listed under orphanded jobs, since these jobs will remain waiting.

        Attachments

          Activity

          Hide
          dominiquebrice Dominique Brice added a comment -

          I agree. In such a situation, I propose to display a note in the "Nodes" section: all nodes are in exclusive mode.
          And "label-less" jobs will be listed in the Orphaned Jobs section.

          See attached screenshot.

          Herbert, do you have any additional feedback?

          Show
          dominiquebrice Dominique Brice added a comment - I agree. In such a situation, I propose to display a note in the "Nodes" section: all nodes are in exclusive mode. And "label-less" jobs will be listed in the Orphaned Jobs section. See attached screenshot. Herbert, do you have any additional feedback?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Dominique
          Path:
          src/main/java/jenkins/plugins/linkedjobs/actions/LabelDashboardAction.java
          src/main/java/jenkins/plugins/linkedjobs/settings/GlobalSettings.java
          src/main/resources/jenkins/plugins/linkedjobs/actions/LabelDashboardAction/index.jelly
          src/main/resources/jenkins/plugins/linkedjobs/settings/GlobalSettings/config.jelly
          http://jenkins-ci.org/commit/label-linked-jobs-plugin/9b99377455e7e8e70e969bc3fe8fe7128ca2061d
          Log:
          JENKINS-25163JENKINS-25188 Take into account jobs with no labels

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dominique Path: src/main/java/jenkins/plugins/linkedjobs/actions/LabelDashboardAction.java src/main/java/jenkins/plugins/linkedjobs/settings/GlobalSettings.java src/main/resources/jenkins/plugins/linkedjobs/actions/LabelDashboardAction/index.jelly src/main/resources/jenkins/plugins/linkedjobs/settings/GlobalSettings/config.jelly http://jenkins-ci.org/commit/label-linked-jobs-plugin/9b99377455e7e8e70e969bc3fe8fe7128ca2061d Log: JENKINS-25163 JENKINS-25188 Take into account jobs with no labels
          Hide
          quartelh Herbert Quartel added a comment -

          Hi Dominique, looks great! I do not have additional comments/feedback.

          Show
          quartelh Herbert Quartel added a comment - Hi Dominique, looks great! I do not have additional comments/feedback.
          Hide
          dominiquebrice Dominique Brice added a comment -

          Included in release 3.0.3 of plugin. It should be available in the plugin admin section in Jenkins in the next few hours.

          Herbert, out of curiosity, how many nodes and how many jobs do you have on the instance of jenkins where you use the plugin?

          Show
          dominiquebrice Dominique Brice added a comment - Included in release 3.0.3 of plugin. It should be available in the plugin admin section in Jenkins in the next few hours. Herbert, out of curiosity, how many nodes and how many jobs do you have on the instance of jenkins where you use the plugin?
          Hide
          quartelh Herbert Quartel added a comment -

          Hi Dominique,

          We have 3 nodes (each 1 executor) and about 80+ jobs. The jobs were mostly tied to a specific node (this is how my predecessor set it up) since the nodes run integration tests using a database and the local jms server.

          I was trying to see if I could better use these 3 nodes, so insight was step 1. Your plugin is a great source to get an overview and to predict what will happen when you change labels and node set up.

          The last few weeks I have been tweaking with the settings of the nodes, and since I did not think well and your plugin did not mentioned orphaned jobs I set all node to Label restrictions. Along came the ever waiting jobs .

          Show
          quartelh Herbert Quartel added a comment - Hi Dominique, We have 3 nodes (each 1 executor) and about 80+ jobs. The jobs were mostly tied to a specific node (this is how my predecessor set it up) since the nodes run integration tests using a database and the local jms server. I was trying to see if I could better use these 3 nodes, so insight was step 1. Your plugin is a great source to get an overview and to predict what will happen when you change labels and node set up. The last few weeks I have been tweaking with the settings of the nodes, and since I did not think well and your plugin did not mentioned orphaned jobs I set all node to Label restrictions. Along came the ever waiting jobs .
          Hide
          dominiquebrice Dominique Brice added a comment -

          Thanks for your feedback.
          If you're happy of the new feature in release 3.0.3 can you flagged this issue as resolved and close it? Same for Jenkins-25163. Thanks!

          Show
          dominiquebrice Dominique Brice added a comment - Thanks for your feedback. If you're happy of the new feature in release 3.0.3 can you flagged this issue as resolved and close it? Same for Jenkins-25163 . Thanks!
          Hide
          quartelh Herbert Quartel added a comment -

          verified fixed

          Show
          quartelh Herbert Quartel added a comment - verified fixed
          Hide
          quartelh Herbert Quartel added a comment -

          resolved and delivered in version 3.0.3

          Show
          quartelh Herbert Quartel added a comment - resolved and delivered in version 3.0.3

            People

            • Assignee:
              dominiquebrice Dominique Brice
              Reporter:
              quartelh Herbert Quartel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: