Fix Zuul failing --force-message against Gerrit 2.12 59/259/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 9 Feb 2016 01:23:01 +0000 (20:23 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 9 Feb 2016 01:23:03 +0000 (20:23 -0500)
We probably don't need the "success-message" and "failure-message" but I
think adding it for clarity of which type of job is leaving a comment is
nice.

Change-Id: I7210c0281e3954f714ad5aa308ad8206f25878be
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
zuul/layout.yaml

index 23e06b6..b312e3d 100644 (file)
@@ -49,17 +49,17 @@ pipelines:
   - name: post-merge
     source: gerrit
     manager: IndependentPipelineManager
+    success-message: Build succeeded (check merge)
+    failure-message: Build failed (check merge)
     trigger:
       gerrit:
         - event: change-merged
         - event: comment-added
           comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(remerge)
     success:
-      gerrit:
-        force-message: True
+      gerrit: {}
     failure:
-      gerrit:
-        force-message: True
+      gerrit: {}
 
 ##############################################################################
 ### Project Templates