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

The snippet generator

Another useful feature is the snippet generator. It is very hard to guess what syntax some steps expect and documentation is often missing or scattered. You are probably not even sure if a certain plugin is installed or not. This is where the snippet generator comes to the rescue. You can find a link to the snippet generator under the Use Groovy Sandbox checkbox in the project configuration or at the bottom of the left-hand side menu on a pipeline project page. Clicking any of those links takes you to a new page where you can select a step you want to use. You can then specify some options you want to use. You can then generate a code snippet and copy and paste it into your own code. For example, you can generate a snippet ...

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