[JIRA] (JENKINS-59369) Priority Sorter should allows a job can belong to multiple Groups

3 views
Skip to first unread message

nhatkhai@gmail.com (JIRA)

unread,
Sep 13, 2019, 2:30:02 PM9/13/19
to jenkinsc...@googlegroups.com
NhatKhai Nguyen created an issue
 
Jenkins / New Feature JENKINS-59369
Priority Sorter should allows a job can belong to multiple Groups
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: prioritysorter-plugin
Created: 2019-09-13 18:29
Priority: Minor Minor
Reporter: NhatKhai Nguyen

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages