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

Conditional build steps

Another useful Jenkins plugin is the Conditional BuildStep plugin (https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin). This plugin lets you skip or include build steps based on some condition. For example, you can build and unit test your source on every commit, but only run Selenium tests every three hours using a periodic build trigger (so your build is being tested even though there are no commits).

Install the Conditional BuildStep plugin in the plugin manager. After installation, you get two new build steps: Conditional step (single) and Conditional steps (multiple):

There are quite a few ...

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