The following are the steps to create a build pipeline in Jenkins
Step 1: Open the Jenkins dashboard and click on New Item. Then enter an item name. For example, ‘First Pipeline project’ and select the ‘Pipeline’ project. Then click on, OK.
Step 2: Click on the Pipeline tab in the window, and place your JenkinsFile code (Groovy Code) there.
Step 3: Click on Save and apply.
Step 4: After that, click on Build Now to start building the Jenkins Pipeline that you have created just now.
If you want to learn Jenkins, you can enroll in this Jenkins Training course by Intellipaat.
Also, watch this video on Jenkins Pipeline Tutorial: