Add email notification for lttng-scope jobs
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 13 Dec 2017 21:09:57 +0000 (16:09 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 13 Dec 2017 23:20:02 +0000 (18:20 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
jobs/lttng-scope.yml

index 500c2a9cbe60cda35fac043d8bc44130faa4c6db..4d37b6192f3527868036b540fde119e36f0f0ec2 100644 (file)
               total-low: 0
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
-#      - ircbot:
-#          strategy: new-failure-and-fixed
-#          matrix-notifier: only-parent
-#          channels:
-#            - name: '#lttng'
-
+         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: lttng-scope_{version}_winbuild
               total-low: 0
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
-#      - ircbot:
-#          strategy: new-failure-and-fixed
-#          matrix-notifier: only-parent
-#          channels:
-#            - name: '#lttng'
+         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:
               total-low: 0
       - workspace-cleanup
       - email-ext:
-          recipients: alex@voxpopuli.im
-          matrix-trigger: only-parent
-#      - ircbot:
-#          strategy: new-failure-and-fixed
-#          matrix-notifier: only-parent
-#          channels:
-#            - name: '#lttng'
+         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: lttng-scope_{version}_coverity
     name: lttng-scope
     github_user: lttng
     github_name: lttng-scope
+    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.030726 seconds and 4 git commands to generate.