Table of contents
- Getting Started with Jenkins π
- Tasks: 1
- Tasks: 2
- Create a freestyle project to print "Hello World!!
- Step 1: Create a new item/ new job
- Step 2: Enter an item name and select the freestyle project and click on the OK button.
- Step 3: Add a description and don't tick any option
- Step 4: We are not using SCM, So select "None"
- Step 5: Select build steps with the "execute shell" option, as we are running Jenkins on a Linux machine [Shell Scripting is executable]
- Step 6: Now save the configuration, Click "Save"
- Step 7: Click "Build Now" to run the project
- Step 8: Click "Console Output" to see the job execution output
- Step 9: You can see the logs. Shell/ terminal executed the "echo" command and printed "Hello World!"
- This is how we can print the "Hello World!" using the Jenkins job in the freestyle project.
- Share 90DaysOfDevOps progress on Linkedin--->
- Day 22 task is completed!
Getting Started with Jenkins π
Tasks: 1
What you understood in Jenkin, write a small article in your own words (Don't copy from Internet Directly)
Jenkins is an open-source automation server that can complete any task given to it in an automated way provided all the plugins are installed on it to complete that task.
Jenkins can :
Build and test your code
Deploy your application
Integrate with other tools and systems to use their functionality
Automate repetitive tasks such as backups, database migrations, and server maintenance.
Monitor the health of your system by running periodic checks.
Tasks: 2
Create a freestyle project to print "Hello World!!
Step 1: Create a new item/ new job
Step 2: Enter an item name and select the freestyle project and click on the OK button.
Step 3: Add a description and don't tick any option
Step 4: We are not using SCM, So select "None"
Step 5: Select build steps with the "execute shell" option, as we are running Jenkins on a Linux machine [Shell Scripting is executable]
Step 6: Now save the configuration, Click "Save"
Step 7: Click "Build Now" to run the project
Step 8: Click "Console Output" to see the job execution output
Step 9: You can see the logs. Shell/ terminal executed the "echo" command and printed "Hello World!"
This is how we can print the "Hello World!" using the Jenkins job in the freestyle project.
Share 90DaysOfDevOps progress on Linkedin--->
Day 22 task is completed!
90DaysOfDevOps Tasksπ
Β