To create a pipeline.
Step 1: Click new Item > name the project > and select pipeline job

Step 2: Configure pipeline by connecting it to GitHub(SCM) script
Note: Pipeline scripts are written in groovy programming language


Practicing Jenkins Syntax

Environmental Variables in Jenkins

Step 2: Using credentials in Jenkins file