Install Blue Ocean Plugin for Jenkins

By Unknown | วันพฤหัสบดี, มิถุนายน 02, 2559

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.

  1. 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)
  2. To avoid error while building I suggest you to get the latest release maven from apache
  3. Clone git repository from here
  4. cd to root of your clone with cd ./blueocean-plugin
  5. This is necessary for running unit test.
    git config --global user.email "you@example.com"
    git config --global user.name "Your Name"
  6. run mvn clean install (This step take you very long time. Enjoy your drinks before it is cold) or you can run mvn clean -Dmaven.test.skip=true install to tell maven DO NOT running unit test.
  7. 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] ------------------------------------------------------------------------
    
  8. cd to blueocean-plugin (in root of your clone) cd ./blueocean-plugin
  9. run mvn hpi:run
  10. 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.
  11. After that you can access blue ocean at http://localhost:8080/jenkins/blue

แสดงความคิดเห็น