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

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

    XMLWordPrintable

Details

    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

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

            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.

            Proposing to switch the mode back to NORMAL.

            olivergondza Oliver Gondža added a comment - Proposing to switch the mode back to NORMAL .

            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.

            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.
            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?

            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?

            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

            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
            felfert Fritz Elfert added a comment -

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

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

            Fixed in v2.9

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: