Jenkins hello world
Everything in the entire IT world starts from the Hello World example.
Let's follow this rule and see the steps to create the first Jenkins pipeline:
- Click on
New Item
. - Enter
hello world
as the item name, choosePipeline
, and click onOK
. - There are a lot of options. We will skip them for now and go directly to the
Pipeline
section. - There, in the
Script
textbox, we can enter the pipeline script:
pipeline { agent any stages { stage("Hello") { steps { echo 'Hello World' } } } }
- Click on
Save
. - Click on
Build Now
.
We should see #1
under the Build History
. If we click on it, and then on Console Output
, we will see the log from the Pipeline build.

We have just seen the first example and its successful output means that Jenkins is installed correctly. Now, let's move to slightly more advanced Jenkins configuration.
Note
We will describe more on...