Env

Environment variables to set up

The key env defines env vars that will be defined in the build environment.

Env vars can be specified as global or job vars. Global vars will be defined on every job in the build's job matrix. Job vars will expand the build matrix, i.e. create one additional job per entry.

Env vars can be given either as strings or maps. If given as a string they can contain multiple key/value pairs.

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

See also

Types

Keys

If given a map, the following keys are supported:

Examples

env:
  global:
  - FOO: foo
  jobs:
  - FOO: foo
env:
- FOO: foo
env:
- secure: encrypted string
env:
- FOO=foo
env:
  FOO: foo
env:
  secure: encrypted string
env: FOO=foo

Beta