I’m happy to announce the recent addition of advanced
config-compile-time logic statements to config version 2.1. This is
part of our initiative to give users greater control over the work to

With logic statements you can combine literal values, pipeline values,
and pipeline parameters in various ways to produce arguments forwhen
stanzas in workflows andwhensteps.

A brief example:

my-job: steps: when: condition: or: - << pipeline.parameters.run-deploy >> - equal: [ master, << pipeline.git.branch >> ] steps: - run: ./deploy

This step will run on master, or if you specify therun-deploy
pipeline parameter via the API to trigger a manual deployment.

Head to thedocumentationor theconfiguration cookbookfor more
details and examples.