Jenkins : Pipeline and Blue Ocean plugins

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 :

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:

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 !


Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *