There are two different ways of a pipeline can be made in Jenkins
Progressively like a programming approach
DSL approach explicitly to make Jenkins pipelines.
The pipeline ought to be made in Jenkins document and the area can either be in SCM or nearby framework.
Definitive and Scripted Pipelines are developed on a very basic level in an unexpected way. Definitive Pipeline is a later element of Jenkins Pipeline which:
gives more extravagant grammatical highlights over Scripted Pipeline language structure, and is intended to make composing and perusing Pipeline code less demanding.