Professional Documents
Culture Documents
22MCC20021 Cicd 10
22MCC20021 Cicd 10
10th
Student Name: Pratap Mukherjee UID: 22MCC20021
Continue to configure SCM (source code management) to plan a build on every push operation by
master node in Jenkins.
Now, choose “Pipeline Script from SCM” from the Definition drop down list.
Choose Git in SCM option and provide the repository URL in the blank space provided. Move
ahead and verify the branch name i.e., main or master.
Now, enter a “Script Path” name say, jenkinsfile, in the blank space. Be careful with the character
case.
Then, create a text file with the same name (i.e., jenkinsfile) and write the pipeline script here. Now,
push it to the repository whose URL you have provided in step ii.
Now, click on Save.
Finally, we can see our maven project is triggered on the agent node with the specific SCM
configuration on every push by Master Node.