Add email notification to ctf-java jobs
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 13 Dec 2017 20:22:38 +0000 (15:22 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 13 Dec 2017 23:18:44 +0000 (18:18 -0500)
The maintainer for this project (Alexandre Montplaisir) wants to be
notified for each unstable and failure build even consecutive ones.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
jobs/ctf-java.yml

index f2575b87548a3a611c8842924c31a19c81a574f7..251a7a61962cee70841ccd31750c6605f053f6ef 100644 (file)
               total-low: 0
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
+         recipients: '{obj:email_for_all_failure}'
+         always: false
+         unstable: true
+         first-failure: false
+         first-unstable: false
+         not-built: false
+         aborted: false
+         regression: false
+         failure: true
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
+      - email-ext:
+         recipients: '{obj:email_to}'
+         reply-to: ci-notification@lists.lttng.org
+         always: false
+         unstable: false
+         first-failure: true
+         first-unstable: true
+         not-built: false
+         aborted: false
+         regression: false
+         failure: false
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
+
 
 - job-template:
     name: ctf-java_{version}_coverity
     name: ctf-java
     github_user: efficios
     github_name: ctf-java
+    email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com'
+    email_for_all_failure: 'alexmonthy@efficios.com'
     version:
       - master
     jobs:
This page took 0.029087 seconds and 4 git commands to generate.