How to Setup Custom UI Theme For Jenkins

If you are bored of the old jenkins UI, its font, and icons, you can give your jenkins a makeover using custom CSS styling with a custom logo.

Custom CSS Main Features:

1. Flat UI Fonts
2. Better Syntax highlighting for Shell blocks
2. Better highlighted console output

Modifying Jenkins UI

Follow this tutorial for changing the look and feel of default jenkins UI.

Step 1: Go to Manage Jenkins –> Manage Plugins. Click available tab and search for simple theme plugin.

Step 2: Install the theme and restart jenkins.

Step 3: Go to Manage Jenkins –> Configure and search for Theme configuration and in the CSS field enter the following URL and save it.

 

Once it is saved, the UI will be changed to a materialized flat UI based on cyan color.

Uploading Custom CSS TO Jenkins Server

In the above example, we are referring to a CSS file hosted in third party website. You can also host this CSS on your jenkins server. Follow the steps given below.

Step 1: Login to your jenkins server, and cd into your jenkins home directory.

Step2: Create folder named layout inside the userContent directory.

Step 3: cd into layout directory and create a style.css file.

Step 4: Now, visit the following URL in the browser and copy the whole CSS content and paste it in the style.css file and save it.

Step 4: Now, in the jenkins configure section, under the theme, replace the full URL with the following.

READ  How To Setup an Elasticsearch Cluster - Beginners Guide

More Customization

You can customize the looks more by changing the logo. If you want more customizations and colors, you can follow the office jenkins materialize CSS site from here.

You cn check out the video tutorial for this article.

Free DevOps Resources

Get DevOps news, tutorials and resources in your inbox. A perfect way If you want to get started with devops. Like you, we dont like spam.

Leave a Reply

Your email address will not be published. Required fields are marked *