Ever wanted to have more control whether a step should be executed or not?
Want to reduce the number of jobs doing nearly the same thing?
Add a conditional buildstep which acts as a container. It will allow you to define a condition controling the execution of the step(s).
There are multiple conditions one can choose of, these are all defined by the Run Condition Plugin
If you’re not able to add the builder of your choice within a conditional build step (because it’s not available within the dropdown), then this is likely because the builder does not provide a
@DataBoundConstructor constructor and/or the Descriptor does not extend
hudson.tasks.BuildStepDescriptor. For non programmers: the plugin you would like to use does not yet follow the newest Jenkins coding guidelines. Without this, the conditional buildstep plugin is not able to work with it.
This build step allows you to select any build step and define a condition to control whether the step should be executed. For reasons why you might want to use this step, see Why use Conditional step (single)?
Please check out the examples at the Run Condition Plugin
For recent versions, see GitHub Releases
For versions 1.3.6 and older, see CHANGELOG.adoc
For Help please use the Jenkins Users mailing list or the Issue tracker (Jira).
Licensed under the MIT Licence.