Add post_review pipeline variable to jobs

Change-Id: If70539e075663e12b21a5b76d8b1456e34c6dfec
This commit is contained in:
Albin Vass 2020-12-14 16:50:23 +01:00
parent db9f94c79e
commit deece4d236
2 changed files with 6 additions and 0 deletions

View File

@ -305,6 +305,11 @@ of item.
The name of the pipeline in which the job is being run.
.. var:: post_review
:type: bool
Whether the current job is running in a post-review pipeline or not.
.. var:: job
The name of the job being run.

View File

@ -160,6 +160,7 @@ class ExecutorClient(object):
buildset=item.current_build_set.uuid,
ref=item.change.ref,
pipeline=pipeline.name,
post_review=pipeline.post_review,
job=job.name,
voting=job.voting,
project=project,