zuul/releasenotes/notes/add-no-jobs-reporter-action-a868ff8baf42c44c.yaml
James E. Blair 00e64f0bdf Add no-jobs reporter action
This facilitates integration with the gerrit checks API (and may
prove useful for other similar APIs).  It will allow us to report
that a change has no jobs in a particular pipeline.  A Zuul
pipeline will correspond to a Gerrit check, which means we can
update the status for that check from "SCHEDULED" to "NOT_RELEVANT"
if we determine that no jobs should run for the change.  This
closes out the status of the check in Gerrit when a project is
configured to participate in a check/pipeline but no jobs are
actually configured.

Test coverage for this will be added in change
Ida0cdef682ca2ce117617eacfb67f371426a3131.

Change-Id: Ide2a332b294d7efe23601d80eeb92b5af1d4c21b
2019-09-17 09:51:16 -07:00

7 lines
182 B
YAML

---
features:
- |
Added the :attr:`pipeline.no-jobs` reporter action so that
reporters may be run when an item is dequeued into a pipeline
without having run any jobs.