Creating Pipeline using Blue Ocean Plugin (Jenkins) Tutorial

Devansh Markan
3 min readOct 16, 2020

In this tutorial, we will use multi-branch pipeline feature we need to install Blue Ocean Plugin.

Go to Manage Jenkins and then to manage plugins. Install Blue Ocean Plugin from Manage Plugins section.

After installing the Plugin click on Blue Ocean plugin.

Now, click on “Open Blue Ocean” option. After doing so, you will land up to a page where you have to answer some questions like “Where do you store your code?” or “Which organisation does the repository belong to?”

So, I am using my “BlueOcean” repo in Github to complete this tutorial. Look at the Jenkinsfile shown below.

After choosing the organisation, “Personal Access Token” will be required. Create access token by following the instructions in the above screen.

● Under organization select your Github username

● Select webapp as your repository

● Click on create Pipeline

After you click save and enter, a pipeline will be created. The pipeline will build all the branches as per the instructions in Jenkinsfile for that particular branch.

If we check the console out, we will get to see something like that. I will take the access code, verify it, start the build process and tell us the final build state.

So, this clearly shows that the build was successfully completed. BUT WHAT IS THE BASIC USE OF BLUE OCEAN?

Blue Ocean provides a very graphical and visual appeal to the build pipeline that Jenkins manages and thus, this is what makes it different from others.

So, that’s it. Congrats on using BlueOcean plugin to successfully execute the build. It gives the perfect graphical view and is much better than others.

Stay tuned as many other tutorials are on the way!

--

--

Devansh Markan

Tech-enthusiast and looking for learning new technologies and writing technical blogs here.