# Day22 ----> 90DaysOfDevOps Challenge @TWS

# 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 Blog Article](https://www.linkedin.com/posts/chaitannyaa-gaikwad-b16965115_jenkins-the-ultimate-tool-for-continuous-activity-7058065767371538432-oLMI?utm_source=share&utm_medium=member_desktop)

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 :

1. Build and test your code
    
2. Deploy your application
    
3. Integrate with other tools and systems to use their functionality
    
4. Automate repetitive tasks such as backups, database migrations, and server maintenance.
    
5. 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

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682797305876/c622d4f3-bfdc-4329-b8d6-f5d3a3c92425.png align="center")

### Step 2: Enter an item name and select the freestyle project and click on the OK button.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682796169947/feb140ad-bdf9-4dff-b66d-97033ed9ce4f.png align="center")

### Step 3: Add a description and don't tick any option

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682796651601/8db63550-39a6-4c5c-9899-31efb81fd5ef.png align="center")

### Step 4: We are not using SCM, So select "None"

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682796694038/42761a79-34d6-4242-8ef0-ed583a020a80.png align="center")

### Step 5: Select build steps with the "execute shell" option, as we are running Jenkins on a Linux machine \[Shell Scripting is executable\]

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682796780886/cebb2bf3-63bd-4cbc-951e-c032bdd630ee.png align="center")

### Step 6: Now save the configuration, Click "Save"

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682796820394/28047a14-8570-491a-a4fd-f3db29fc98c9.png align="center")

### Step 7: Click "Build Now" to run the project

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682796934490/70bbdc64-1dae-4470-a4f0-7a004a446dfd.png align="center")

### Step 8: Click "Console Output" to see the job execution output

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682797048976/5a037f35-50ae-4ebb-a205-2371ad803906.png align="center")

### Step 9: You can see the logs. Shell/ terminal executed the "echo" command and printed "Hello World!"

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1682797122566/171573c9-2419-4dd6-befb-fb59fc30ec19.png align="center")

### This is how we can print the "Hello World!" using the Jenkins job in the freestyle project.

### Share **90DaysOfDevOps** progress on Linkedin---&gt;

[Linkedin Post :)](https://www.linkedin.com/posts/chaitannyaa-gaikwad-b16965115_day22-90daysofdevops-challenge-tws-activity-7058179892449845248-BKZL?utm_source=share&utm_medium=member_desktop)

## Day 22 task is completed!

**90DaysOfDevOps Tasks👇**

[**github.com/Chaitannyaa/90DaysOfDevOps.git**](http://github.com/Chaitannyaa/90DaysOfDevOps.git)

[Chaitannyaa Gaikwad | LinkedIn](https://www.linkedin.com/in/chaitannyaa-gaikwad-b16965115/recent-activity/shares/)
