Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins job status - Customize color / status of job

Is there a way to customize the status of a Jenkins job to use different icons or colors other than just simple blue/green ball icons.

Something like what we see in cloudbees Jenkins instance or similar.

https://jenkins.ci.cloudbees.com/

For more (if possible), I'd like an option to have the ball status for a queued build job to change to a different color or icon. For example, a clock/stop-watch or an hour glass, or maybe change the color to a clear white sphere. This would help new users avoid accidentally launching a queued build multiple times expecting the job status icon to start flashing and etc.

like image 939
AKS Avatar asked Aug 19 '15 22:08

AKS


People also ask

How do I customize my Jenkins dashboard?

On the Jenkins main page, click the + tab to start the new view wizard (If you do not see a +, it is likely you do not have permission to create a new view). On the create new view page, give your view a name and select the Dashboard type and click ok.

Why is Jenkins Success blue?

This is because historically, Japanese people considered green to be a shade of blue.

How can I check my job status in Jenkins?

Check to see if a build is running or not If a build is in progress, a grep for result\":null will return 0. If a build is finished, a grep for result\":null will return 1.

Which color is used to denote that the last build was a success?

Successful Jenkins builds are marked with a blue ball.


1 Answers

The following plugins can help to achieve what I'm looking for (to some degree).

  1. https://plugins.jenkins.io/modernstatus/ (I'll poke around in this plugin to see if I can change this "Modern Status" plugin -- to change the icon(s) for ex: change icon to a pending/hour glass icon if a build is sitting in "queue" and etc).

  2. https://github.com/kralq/distinguishable-gray-balls-plugin

  3. https://plugins.jenkins.io/custom-job-icon/ (as Mike mentioned in the other reply) - to classify a job type (using various icons).

like image 114
AKS Avatar answered Sep 22 '22 07:09

AKS