Add text/info/alert on Jenkins login screen
Jan 20, 2024
In my organization there are several deployment of Jenkins. True, each server has it’s own path, but to new employees (especially in IT) the hostname still doesn’t mean anything before you get familiarized with the environment.
To custom a bit the main login screen, you can add a header and footer information regarding the deployment behind the login screen.
For that you’ll need to install “Login Theme” from the plugin page.
Once installed, browse to Manager Jenkins > System. Search for Login Page Theme
In the header section insert the following example:
<div style="text-align:center;">
<h3>IT department</h3>
</div>
In the footer section add the following example:
<div style="text-align:center;">
<p>Access with caution<p>