Branches

Include or exclude branches from being built

Include or exclude branches for your build to be run on.

This is a legacy setting, use the more powerful condition (if) to define branches for your build to be run on.

This node uses the key only as a default prefix if not given a map.

Types

Keys

If given a map, the following keys are supported:

Examples

branch:
  only:
  - master
  except:
  - develop
branch:
- master
branch: master

Beta