CSS and JS to implement as a theme for Jenkins CI.
Note: these URLs are for the Jenkins UI redesign as of 1.572. For the legacy UI theme files, please see Legacy Jenkins UI (pre-1.572) CDN URLs
below
- Install the Simple Theme Plugin for Jenkins
- Clone the repo, put it into the JENKINS_HOME/userContent, for e.g: /var/lib/jenkins/userContent/css
- Navigate to Jenkins > Manage Jenkins > Configure System > Theme
- Set URL of theme CSS to
/var/lib/jenkins/userContent/css/style.css
(or another URL of your setting/choosing) - Set URL of theme JS to
/var/lib/jenkins/userContent/css/app.js
(or another URL of your setting/choosing)
npm install
grunt
- Edit:
$JENKINS_HOME/org.codefirst.SimpleThemeDecorator.xml
with code below - Restart Jenkins
<?xml version='1.0' encoding='UTF-8'?>
<org.codefirst.SimpleThemeDecorator plugin="[email protected]">
<cssUrl>your custom path</cssUrl>
<jsUrl>your custom path</jsUrl>
</org.codefirst.SimpleThemeDecorator>