From ab23a145481d8b7c8dfd0e26640836d691e97d3b Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Tue, 15 Oct 2019 15:54:40 -0400 Subject: [PATCH] Added {success,failure}-message for pipelines The HideCI tool relies on parsing the message reported to discover which pipeline it ran inside. This does not exist for the OpenDev tenant which makes it always only show the most recent set of results which can confuse users as that may be the promote pipeline. Change-Id: I7c0bd93afb19c3f7de22f863f3816d7f294d8879 --- zuul.d/pipelines.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml index 2011f59..e3416c2 100644 --- a/zuul.d/pipelines.yaml +++ b/zuul.d/pipelines.yaml @@ -3,6 +3,8 @@ description: | Newly uploaded patchsets enter this pipeline to receive an initial +/-1 Verified vote. + success-message: Build succeeded (check pipeline). + failure-message: Build failed (check pipeline). manager: independent precedence: low require: @@ -32,6 +34,8 @@ in order in this pipeline, and if they pass tests, will be merged. For documentation on how gating with Zuul works, please see https://zuul-ci.org/docs/zuul/user/gating.html + success-message: Build succeeded (gate pipeline). + failure-message: Build failed (gate pipeline). manager: dependent precedence: normal supercedes: check @@ -86,6 +90,8 @@ This pipeline runs jobs that operate after each change is merged in order to promote artifacts generated in the gate pipeline. + success-message: Build succeeded (promote pipeline). + failure-message: Build failed (promote pipeline). manager: supercedent precedence: low post-review: True @@ -151,6 +157,8 @@ On-demand pipeline for requesting a run against a set of jobs that are not yet gating. Leave review comment of "check experimental" to run jobs in this pipeline. + success-message: Build succeeded (experimental pipeline). + failure-message: Build failed (experimental pipeline). manager: independent precedence: low trigger: