This plugin is a renew user interface and user experience for Jenkins. For more information you can read it here.
Install Blue Ocean for Jenkins
*Note that installing jenkins is not necessary to run this plugin. Just follow my steps.
- Make sure you installed jdk 1.7 or above (read this to install jdk 1.8 on ubuntu. Just follow my guild until step 2)
- To avoid error while building I suggest you to get the latest release maven from apache
- Clone git repository from here
- cd to root of your clone with
cd ./blueocean-plugin
- This is necessary for running unit test.
git config --global user.email "you@example.com" git config --global user.name "Your Name"
- run
mvn clean install
(This step take you very long time. Enjoy your drinks before it is cold) or you can runmvn clean -Dmaven.test.skip=true install
to tell maven DO NOT running unit test. - After success you will get this messages:
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Blue Ocean UI Parent ............................... SUCCESS [ 14.260 s] [INFO] BlueOcean :: Commons API ........................... SUCCESS [ 14.515 s] [INFO] BlueOcean :: Web module ............................ SUCCESS [01:00 min] [INFO] BlueOcean :: Rest module ........................... SUCCESS [ 9.099 s] [INFO] BlueOcean :: Dashboard ............................. SUCCESS [ 55.410 s] [INFO] BlueOcean :: REST API implementation ............... SUCCESS [ 14.140 s] [INFO] BlueOcean :: Aggregator ............................ SUCCESS [ 29.295 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:19 min [INFO] Finished at: 2016-06-03T10:35:58+07:00 [INFO] Final Memory: 69M/271M [INFO] ------------------------------------------------------------------------
- cd to blueocean-plugin (in root of your clone)
cd ./blueocean-plugin
- run
mvn hpi:run
- You have to initial jenkins before access blue ocean page by go to
http://localhost:8080/jenkins
. It will ask you for password just go back to your terminal and get it. - After that you can access blue ocean at
http://localhost:8080/jenkins/blue