Setting up a new job in Jenkins is elaborated below with snapshots:
Step 1: Go to the Jenkins Dashboard and Login with your registered login credentials.
Login to Jenkins
Step 2: Click on the New Item that is shown in the left panel of the page.
Click on New Item in Jenkins
Step 3: Click on the Freestyle Project from the given list on the upcoming page and specify
the item name in the text box.
Click on the Freestyle Project
Step 4: Add the URL to Git Repository.
Add URL to Git Repository
Step 5: Go to the Build section and click on the Add build step => Execute Windows batch
command.
5.Execute Windows batch command
Step 6: Enter the command in the command window as shown below.
Enter the command in the command window
Step 7: After saving all the settings and changes click on Build Now.
click on Build Now.
Step 8: To see the status of the build click on Console Output.
Console Output