Merge "docs: add cleanup-run documentation"

This commit is contained in:
Zuul 2019-07-03 15:16:27 +00:00 committed by Gerrit Code Review
commit 34cdfe33b6
2 changed files with 15 additions and 0 deletions

View File

@ -890,6 +890,16 @@ Here is an example of two job definitions:
playbooks are run before the parent's. See :ref:`job` for more
information.
.. attr:: cleanup-run
The name of a playbook or list of playbooks to run after a job
execution. The full path to the playbook in the repo
where the job is defined is expected.
The cleanup phase is performed unconditionally of the job's result,
even when the job is canceled. Cleanup results are not taken into
account.
.. attr:: run
The name of a playbook or list of playbooks for this job. If it

View File

@ -0,0 +1,5 @@
---
features:
- |
The :attr:`job.cleanup-run` attribute has been added to enable
a new cleanup phase to be performed after a job execution.