Environment variables to set up
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.
If given a map, the following keys are supported:
global— Global environment variables to be defined on all jobs (type: sequence of map, sequence of secure, sequence of string, map, secure, or string) details
jobs— Environment variables that expand the build matrix (creating one job per entry) (type: sequence of map, sequence of secure, sequence of string, map, secure, or string, alias:
env: global: - FOO: foo jobs: - FOO: foo
env: - FOO: foo
env: - secure: encrypted string
env: - FOO=foo
env: FOO: foo
env: secure: encrypted string