You have probably arrived here because you think that the official Jenkins UI is horrible, me too. This is my attempt to improve it a bit.
-
Install the JQuery Plugin
-
Install the Simple Theme Plugin
-
Click
Manage Jenkins
-
Click
Configure System
and scroll down toTheme
-
Fill the
URL of theme CSS
field withhttps://cdn.rawgit.com/artberri/jenkins-reloaded-theme/master/dist/reloaded.css
-
Fill the
URL of theme JS
field withhttps://cdn.rawgit.com/artberri/jenkins-reloaded-theme/master/dist/reloaded.min.js
-
Click
Save
To customize this plugin the best way is to make a fork and make there any custom modification.
To make sure, that the following instructions work, please install the following dependencies on you machine:
- Node.js
- npm
- Git
- Ruby and rubygems
If you install node through the binary installation file, npm will be already there.
When npm is installed, use it to install the needed npm global packages:
- grunt-cli
npm install -g grunt-cli
When rubygems is installed, use it to install the needed global gems:
- bundler
gem install bundler
To get the source of jenkins-reloaded-theme
clone the git repository via:
$ git clone https://github.com/<your-username>/jenkins-reloaded-theme.git
This will clone the complete source to your local machine. Navigate to the project folder and install all needed grunt dependencies via npm:
$ npm install
Install also compass and the sass linter gems via bundler:
$ bundle install
jenkins-reloaded-theme
is now installed and ready to be customized.
jenkins-reloaded-theme
comes with a few grunt tasks which help you to automate the development process. The following grunt tasks are provided:
Running grunt
without any parameters, will execute the default task: serve
.
Executes the javascript (eslint
) and the sass (scss_lint
) linters to make sure that your code follow the conventions.
Right now is an alias of grunt lint
.
It's a useful task that will create a web server and will build the project with any change you make (connect
+ watch
).
You only have to use this task, if you want to generate a production ready build of jenkins-reloaded-theme
. This task will also lint the source.
You need to push the changes to your fork and follow the installation intruction replacing the URLs with these:
https://cdn.rawgit.com/<your-username>/jenkins-reloaded-theme/master/dist/reloaded.css
https://cdn.rawgit.com/<your-username>/jenkins-reloaded-theme/master/dist/reloaded.min.js
- RawGit
- Roboto Font
- Icons made by Freepik and Icon Works from www.flaticon.com is licensed by CC BY 3.0