Jenkins : Pipeline and Blue Ocean plugins

Jessica ARAYE
Jul 23, 2017 · 2 min read

In this article I will share with you my experience day at the conference of “Jenkins community day 2017”. There are two interesting plugins that I will talk to you about.

Why talking about Jenkins ?

I heard about it recently at work and started working with it. I found out how easy your work can be when using this open source automation server called Jenkins. With Jenkins you can :

  • Centralise the build process on one server
  • Check build history
  • Add a pipeline per branch that will build, run test and deploy
  • Maintain a stable code
  • Continuous Integration

If you would like to test Jenkins, I invite you to install it through this website :

https://jenkins.io/doc/book/getting-started/installing/

What is pipeline ?

It’s a plugin that you can download from Jenkins. With pipeline you can implement a continuous integration and delivery in your project. To implement the pipeline, you need to add a Jenkins file in the root directory of your project. Jenkins file is a text file that contains a definition of the pipeline. The pipeline script can support two syntaxes the « Declarative » and « Scripted » syntaxes. For more information about these syntaxes, I invite you to check this link: https://jenkins.io/doc/book/pipeline/syntax/

Here is an example of a Jenkins file :

The declarative pipeline example above contains:

  1. « agent » to ensure that the source repository is checked out.
  2. « stages » and « steps » that Jenkins will execute them once the Jenkins file is scanned.
  3. « parallel » that execute in parallel the steps.

For more information about how to install pipeline plugin and configure it in your project, please check the demo below:

What is Blue Ocean ?

It’s a plugin that you can install from Jenkins. It represents Jenkins in a new, modern and beautiful UI. For more information about this plugin, i invite you to check my video below:

The End !


Originally published at blog.viseo-bt.com on July 23, 2017.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade