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

Parameterized builds

It is possible to parameterize your builds in Jenkins. Create a new job and name it Parameterized Project or whatever. Now, almost at the top of the configuration is an option This project is parameterized. Check it and add a parameter. There are a couple of parameters and some plugins will add additional parameters. Most of them are pretty straightforward and all of them are explained in the help text. Let's go with a string parameter for simplicity. Pick a single word name, such as YourText, an optional default value, and an optional description:

Let your build run on Linux and add a shell script build step. That is ...

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