What are different types of Jenkins pipeline?
Jenkins Pipeline is a collection of plugins that supports the creation and implementation of continuous delivery pipelines. A Pipeline is a group of events, linked together in a sequence.
There are two types of Jenkins pipeline syntax used for defining your JenkinsFile.
Declarative Scripted Declarative:
Declarative pipeline syntax offers an easy way to create pipelines. It contains a predefined hierarchy to create Jenkins pipelines. It gives you the ability to control all aspects of a pipeline execution in a simple, straight-forward manner.
Scripted:
Scripted Jenkins pipeline runs on the Jenkins master with the help of a lightweight executor. It uses very few resources to translate the pipeline into atomic commands. Both declarative and scripted syntax are different from each other and are defined totally differently.
Read here for complete details about Jenkin Pipeline