What is Jenkins pipeline and types of Jenkins pipeline?
A pipeline is a set of interlinked jobs done one by one in an order. To integrate and implement continuous delivery pipelines, a Jenkins pipeline provides a combination of plugins. The instructions to be performed are given through code. A continuous delivery pipeline can be represented as
*CI CD pipeline (Continuous Integration Continuous Delivery)
*Scripted pipeline
*Declarative pipeline
The Only difference in scripted pipeline and Declarative pipeline is syntactic approach.
A declarative pipeline always starts with pipeline. Scripted pipeline starts with word node. Declarative pipelines break down stages into individual stages that can contain multiple steps. Scripted pipelines use Groovy code and references to the Jenkins pipeline DSL within the stage elements without the need for steps.