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

Jobs without label are never scheduled, so does most of matrix combinations

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Lets have an instance where all slaves are provisioned via JClouds plugin. Therefore, all slaves has mode set to EXCLUSIVE. When there is a job without label specified (or matrix configuration without label/labelexpr axis) in the queue it is considered not applicable and therefore never executed.

      It make sense to me to schedule such a build on slaves waiting for retention time to expire or provision any slave if there is none.

      UPDATE: Actually, it does provision new slave for freestyle build without label but it is never assigned.

        Attachments

          Issue Links

            Activity

            Hide
            olivergondza Oliver Gondža added a comment -

            Introduced in 1adc277e, commit message mentions this has to be configurable but it does not seems to be from UI.

            Show
            olivergondza Oliver Gondža added a comment - Introduced in 1adc277e , commit message mentions this has to be configurable but it does not seems to be from UI.
            Hide
            olivergondza Oliver Gondža added a comment -

            Proposing to switch the mode back to NORMAL.

            Show
            olivergondza Oliver Gondža added a comment - Proposing to switch the mode back to NORMAL .
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Curt Moore
            Path:
            jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
            jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java
            jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsComputer/configure.jelly
            jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly
            jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java
            http://jenkins-ci.org/commit/jclouds-plugin/d2d84941d7cd630750a6667f9856e2190639d29d
            Log:
            JENKINS-25865 Add ability to configure node usage mode.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Curt Moore Path: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsComputer/configure.jelly jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java http://jenkins-ci.org/commit/jclouds-plugin/d2d84941d7cd630750a6667f9856e2190639d29d Log: JENKINS-25865 Add ability to configure node usage mode.
            Hide
            felfert Fritz Elfert added a comment -

            Hi Oliver,

            I just merged the PR into master. If you have the time, could you verify that the issue is fixed for you?

            Show
            felfert Fritz Elfert added a comment - Hi Oliver, I just merged the PR into master. If you have the time, could you verify that the issue is fixed for you?
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Fritz Elfert
            Path:
            jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
            jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java
            jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsComputer/configure.jelly
            jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly
            jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java
            http://jenkins-ci.org/commit/jclouds-plugin/dea29068a366e6194210c44e7862d6c4b96cebde
            Log:
            Merge branch 'master' of git://github.com/jcmoore3/jclouds-plugin into JENKINS-25865

            Conflicts:
            jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java
            jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java
            jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly
            jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fritz Elfert Path: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsComputer/configure.jelly jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java http://jenkins-ci.org/commit/jclouds-plugin/dea29068a366e6194210c44e7862d6c4b96cebde Log: Merge branch 'master' of git://github.com/jcmoore3/jclouds-plugin into JENKINS-25865 Conflicts: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlave.java jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java jclouds-plugin/src/main/resources/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate/config.jelly jclouds-plugin/src/test/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplateTest.java
            Hide
            felfert Fritz Elfert added a comment -

            Should be fixed in git now. For those who build it themselves, please try out latest master.

            Show
            felfert Fritz Elfert added a comment - Should be fixed in git now. For those who build it themselves, please try out latest master.
            Hide
            felfert Fritz Elfert added a comment -

            Fixed in v2.9

            Show
            felfert Fritz Elfert added a comment - Fixed in v2.9

              People

              • Assignee:
                felfert Fritz Elfert
                Reporter:
                olivergondza Oliver Gondža
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: