Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A control flow plugin that allows conditional execution within pipelines. The conditions are specified as expressions and the variables could include values specified as
runtime arguments of the pipeline,
token from plugins prior to the condition and
global that includes global information about pipelines like the stage, pipeline, logical start time and plugin.
Condition plugin specifies a boolean expression to be evaluated. During pipeline execution, the condition expression specified is evaluated resulting in boolean value (either
false). Depending on the result of the evaluation, either the downstream pipeline connected along
true path is executed or along the
false path is executed. At a point in time, only one path is executed.