There are two different ways of a pipeline can be made in Jenkins
Scripted Pipelines:
Progressively like a programming approach
Explanatory pipelines:
DSL approach explicitly to make Jenkins pipelines.
The pipeline ought to be made in Jenkins record and the area can either be in SCM or neighborhood framework.
Definitive and Scripted Pipelines are developed in a general sense in an unexpected way. Explanatory Pipeline is a later element of Jenkins Pipeline which:
gives more extravagant linguistic highlights over Scripted Pipeline sentence structure, and is intended to make composing and perusing Pipeline code simpler.