O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Pipeline stages

At this point, you may be wondering what this stage block is about anyway. Put either the declarative or the scripted pipeline example in the Script field of your pipeline project, save it, and run it. On your project page, you should now see your first build and your first stage:

You can add another stage and Jenkins will visualize that one too:

def greetings = 'Hello' stage('Greet') {    echo greetings}stage('Say goodbye') {    echo 'Goodbye'}

The output of the script looks as follows:

As you can see, in the second picture, build ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required