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

Priority Sorter should allows a job can belong to multiple Groups

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • prioritysorter-plugin
    • None

      I have a need for job that can be execute on more than one of the Group. For example use case:

      I have following jobs:

      • JobA1, JobA2, JobA3 can only run on agent label with A1, A2
      • JobB1, JobB2 can only run on agent label with A1, A3
      • JobC1 can only run on agent label with A2, A3

      When start:
      1) All agents are free
      2) JobA1, JobB1, JobC1 on demand -> Jenkins assign JobA1 to A1, JobB1 to A3, JobC1 to A2
      3) While busy, JobA2 on wait (priority 10)
      4) While busy, JobB2 on wait (priority 1)
      5) While busy, JobA2 on wait (priority 5)
      6) JobA1 done --> Jenkins assign JobB2 to A1
      7) JobC1 done --> Jenkins assign JobA2 to A2
      8) JobB1 done --> Jenkins assign JobA3 to A3

            Unassigned Unassigned
            nhatkhai NhatKhai Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: