CI Jenkins
CI Jenkins
AIM:
To create a CI Pipeline using Jenkins.
PROCEDURE:
STEP 1: Go to Jenkins page using local host 9000.
STEP 2: Name the item name Build. Click Freestyle Project and then Click ok.
STEP 3: From Configure display click Build Environment or scroll down the page.
STEP 4: In add build step select the option Execute Windows batch command.
STEP 5: In command window give a simple echo message: echo “This is my Build
Project” now click Apply and Save.
STEP 6: The below window will display after we give apply and save option.
STEP 7: The same procedure will be followed for creating Deploy [Refer Step 2 – Step 6].
After creating Deploy the below page will be generated now click on the new item.
STEP 8: Now enter the new item name Test and Select Freestyle Project & click ok.
STEP 9: In this process click only Apply and Save. Don’t enter any code in command.
STEP 10: The below page will be generated after clicking Apply and Save.
STEP 11: The same procedure will be followed for creating Release [Refer Test step
9&10]. After creating Deploy the below page will be generated now click on new item.
STEP 12: Click the Build item and Click on the Configure.
STEP 13: Click the Build Steps in Execute Window batch command and Click the Build
other Projects on drop down list.
STEP 14: Click on the post build actions in Build other project enter the Deploy as in next
item name to connect here and click the Trigger only if build is stable. Click apply and
Save.