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

Add matrix child jobs to the front of the queue

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Instead of just going back in the queue it would be better if they were at the front of their priority level.
      Otherwise the parent job starts then has to sit around waiting for the children to get to the front, effectively making matrix jobs have to wait twice as long as normal jobs.

        Attachments

          Activity

          Hide
          emsa23 Magnus Sandberg added a comment -

          @James, ok.

          One thing you could try is to use the "Run exclusive"-mode.

          Create a new JobGroup that only included your matrix-job and check "Run Exclusive" and see if that works good for you.

          I will think about how to best prioritise Matrix-jobs ...

          Show
          emsa23 Magnus Sandberg added a comment - @James, ok. One thing you could try is to use the "Run exclusive"-mode. Create a new JobGroup that only included your matrix-job and check "Run Exclusive" and see if that works good for you. I will think about how to best prioritise Matrix-jobs ...
          Hide
          jameshowe James Howe added a comment -

          It doesn't sound like that would be practical if there are loads of them.
          Is it possible to write a group pattern that matches only matrix children?

          Show
          jameshowe James Howe added a comment - It doesn't sound like that would be practical if there are loads of them. Is it possible to write a group pattern that matches only matrix children?
          Hide
          emsa23 Magnus Sandberg added a comment -

          Unfortunately matrix children are a bit special - so no you cannot.

          Show
          emsa23 Magnus Sandberg added a comment - Unfortunately matrix children are a bit special - so no you cannot.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: emsa23
          Path:
          src/main/java/jenkins/advancedqueue/PriorityConfigurationCallback.java
          src/main/java/jenkins/advancedqueue/PriorityConfigurationMatrixHelper.java
          src/main/java/jenkins/advancedqueue/RunExclusiveThrottler.java
          src/main/java/jenkins/advancedqueue/priority/strategy/PriorityJobProperty.java
          src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java
          http://jenkins-ci.org/commit/priority-sorter-plugin/78ce5bebeec9227a270b83942be7db24a18c8f8a
          Log:
          JENKINS-23557 Add matrix child jobs in the fron of the queue

          MatrixConfiguration (children) will now inherit the place
          in the queue from the MatrixProject (parent)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/PriorityConfigurationCallback.java src/main/java/jenkins/advancedqueue/PriorityConfigurationMatrixHelper.java src/main/java/jenkins/advancedqueue/RunExclusiveThrottler.java src/main/java/jenkins/advancedqueue/priority/strategy/PriorityJobProperty.java src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java http://jenkins-ci.org/commit/priority-sorter-plugin/78ce5bebeec9227a270b83942be7db24a18c8f8a Log: JENKINS-23557 Add matrix child jobs in the fron of the queue MatrixConfiguration (children) will now inherit the place in the queue from the MatrixProject (parent)
          Hide
          emsa23 Magnus Sandberg added a comment -

          Fixed in 3.0

          Show
          emsa23 Magnus Sandberg added a comment - Fixed in 3.0

            People

            • Assignee:
              emsa23 Magnus Sandberg
              Reporter:
              jameshowe James Howe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: