Mark As Completed Discussion

5.3 Types of Jenkins Pipeline

There are two types of pipelines in Jenkins:

Declarative - Declarative pipeline syntax makes creating pipelines a breeze. Jenkins pipelines are built using a preset structure. It allows you to control all parts of a pipeline's execution in a simple and easy way.

Scripted - Jenkins pipeline syntax is scripted and executed on the Jenkins master using a lightweight executor. It converts the pipeline into atomic commands with minimal resources.

Both programmed and declarative syntax are distinct from one another and have distinct definitions.