If
Condition to determine if a build, stage, or job should be run, a config source imported, or a notification sent
Include or exclude builds, stages, jobs, imports, and notifications by specifying conditions in your build configuration. These are evaluated when your build is being configured.
See also
Types
Examples
if: branch = master