Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customising Jenkins' appearance to make it easier to tell instances apart

Tags:

I am responsible for four different Jenkins installations - two test and two production servers.

What options do I have from within Jenkins to make it more obvious which machine I am connected to?

What I would like to do is be able to change the Jenkins text at the top of the screen to 'Jenkins Department 1 Test' - is this possible? Are there other options such as changing colours etc?

like image 402
Rich Avatar asked Nov 07 '11 13:11

Rich


2 Answers

I think the simplest way to do this is with the Simple Theme Plugin.

A plugin for Jenkins that supports custom CSS & JavaScript.

You can make your own simple css and/or javascript, point to the file in the configuration and you're done. Or you can use existing css from the internet.

like image 183
Illidanek Avatar answered Sep 30 '22 17:09

Illidanek


obsolete as of 2017

Try the Page Markup Plugin.

Adds custom HTML content to header & footer on all Hudson pages. Use this plugin to add your own custom content (e.g. CSS, site headers, and site footers) to Hudson pages.

I haven't used this plugin myself, but you should be able to override the default CSS styles to insert your own header text or image.

Alternatively, you can edit the CSS / images yourself in JENKINS_HOME/war/css and JENKINS_HOME/war/images, but I don't recommend that since you'll probably lose any customizations when you upgrade.

like image 26
Dave Bacher Avatar answered Sep 30 '22 19:09

Dave Bacher