Jenkins 2 comes with a great feature called Pipelines, which is very extensible when we need to define a deployment environment for a project.
A Pipeline is another way of defining some Jenkins steps using code, and automate the process of deploying software.
It’s using a Domain Specific Language(DSL) with two different syntaxes:
- Declarative Pipeline
- Scripted Pipeline