Reorder Jenkins

In my Jenkins control panel, I have four jobs.

job a job b job c job d 

Can I change the display order of these tasks?

thanks

+4
source share
2 answers

Jenkins, by default, sorts tasks in ascending order. 1,2,3, A, b, c, etc. However, you can use this Dashboard plugin to provide something closer to what you are looking for.

https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View

In addition, there is a plugin that sorts tasks in the queue based on priority.

https://wiki.jenkins-ci.org/display/JENKINS/Priority+Sorter+Plugin

I ran into a JIRA problem for Jenkins that suggested sorting in descending order, but just moving the order might be something you want to add to JIRA as a problem or consider creating a plugin for this purpose.

https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial

One simple task would be to add a number to the beginning of the job names to indicate where they should be in the list.

1 - Work 2
2 - Work 3
3 - Work 1

+8
source

Try using the Delivery Pipeline plugin. This will create a view that displays the tasks in the order in which they are performed. I'm not sure if this works, if you have parallel tasks, I have not explored too much though.

The second alternative is to add a leading number. If you start with 1 and 2, you can insert 1.1, and everything will display normally on the default view display.

0
source

Source: https://habr.com/ru/post/1493928/


All Articles