Job Matrix (jobs)
Build matrix definitions
This node uses the key include
as a default prefix if not given a map.
See also
Types
Keys
If given a map, the following keys are supported:
include
— Jobs to include to the build matrix (type: sequence of job matrix includes, or job matrix includes) detailsexclude
— Attributes of jobs to exclude from the build matrix (type: sequence of job matrix exclude, or job matrix exclude) detailsallow_failures
— Attributes of jobs that are allowed to fail (type: sequence of job matrix allow failure, or job matrix allow failure, alias:allowed_failures
) detailsfast_finish
— Allow the build to fail fast (type: boolean, alias:fast_failure
)
Examples
jobs:
include:
- vault:
api_url: string
token:
secure: encrypted string
secrets:
- string
language: ruby
os: linux
dist: trusty
exclude:
- language: ruby
os: linux
dist: trusty
allow_failures:
- language: ruby
os: linux
dist: trusty
jobs:
- vault:
api_url: string
token:
secure: encrypted string
secrets:
- string
language: ruby
os: linux
dist: trusty
jobs:
vault:
api_url: string
token:
secure: encrypted string
secrets:
- string
language: ruby
os: linux
dist: trusty