Jan 112015
Edit Oct 25, 2017: Thank you to Andy for the latest solution in the comments and for n3rdly confirming this works on Jenkins 2.86
As much as I adore the butler it’s always fun to customize things. The simplest way I found to change the logo is to use a theme plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Simple+Theme+Plugin
You can write a CSS template, say theme.css:
1 2 3 4 5 6 7 8 |
@charset “utf-8”; #jenkins-head-icon { width:0px; height:0px; padding: 15px; background: url(pumpkin.png); } |
and then place pumpkin.png and theme.css into userContent folder in the home directory.
Once the plugin is installed, you will have access to some extra configuration settings in “Configure System” under “Manage Jenkins” that you will need to update:
Hi ,It’s not working for me , Could you please share more details .
Hi Purna, what version of Jenkins are you using? I mentioned at the beginning of the post that this only worked up until version 1.574. I’ll see if I can find a solution for the latest version! In the meantime you might consider looking into how the following plugin works, they manage to replace the butler with Chuck Norris 🙂 https://wiki.jenkins-ci.org/display/JENKINS/ChuckNorris+Plugin
We just did this with most recent jenkins (2.73.2) using the same trick but this css:
@charset “utf-8”;
#jenkins-head-icon {
width:0px;
height:0px;
padding: 15px;
background: url(pumpkin.png);
}
Just wanted to give a shout that @andy’s CSS also confirmed working on 2.86 Jenkins and simpletheme 0.3.