A pipeline in Jenkins refers to a suite of plugins that help implement & integrate Continuous Delivery Pipelines throughout Jenkins. A continuous delivery pipeline is an automated expression for getting software from version control right through to your users and consumers.

There are two types of pipeline syntax to define a JenkinsFile
  • Declarative Pipeline: This type of syntax offers an easy way for the creation of pipelines. It contains a predefined hierarchy and offers users the ability to control all aspects of a pipeline execution in a simple, straightforward manner.
  • Scripted Pipeline: This type of Jenkins pipeline runs on the Jenkins master using a lightweight executor. It uses few resources to translate the pipeline into atomic commands.
BY Best Interview Question ON 11 Jan 2020