zuul-sphinx/doc/source/example-jobs.rst
James E. Blair ad1188ba7f Add jobvar and rolevar directives
Jobs and Roles frequently have the same variable names, so use
create unique directives and roles for each so that they are
easy to disambiguate.

This lets us say :jobvar:`tox.environment` rather than
:var:`job-tox.environment` which seems a bit arbitrary.

Change-Id: I9d72d11bfdb700037a6a08f92a2dbfa95ee519ad
2017-08-11 15:04:23 -07:00

556 B

Example Jobs

Jobs

example

This is an example job.

foo

This is a variable used by this job.

bar

This is a sub key.

items

This variable is a list.

baz

This is an item in a list.

example

This is a variant of example which runs on stable branches.

This is a job role: example

This is a job variable role: example.foo.bar