Add email notification to lttng-tools jobs
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 13 Dec 2017 02:40:34 +0000 (21:40 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 13 Dec 2017 23:18:44 +0000 (18:18 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
jobs/lttng-tools.yaml

index 1d242c8a352c772ea6684aa4dbcdd0463450c57b..f8f02593808f0f3eb80e331cce6b7b7020aa7d53 100644 (file)
                  - scripts/common/cygwin-prefix
                  - scripts/lttng-tools/build.sh
 
-- lttng-tools_build_publishers_defaults: &lttng-tools_build_publishers_defaults
-    name: 'lttng-tools_build_publishers_defaults'
+- lttng-tools_build_publishers_dev: &lttng-tools_build_publishers_dev
+    name: 'lttng-tools_build_publishers_dev'
     publishers:
       - tap:
           results: 'tap/**/*.tap'
       - workspace-cleanup:
           clean-if:
             - failure: false
+      - email-ext:
+          recipients: '{obj:email_to}'
+          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
 
 - lttng-tools_build_publishers_prod: &lttng-tools_build_publishers_prod
     name: 'lttng-tools_build_publishers_prod'
       - archive:
           artifacts: 'build/**'
           allow-empty: false
-      - ircbot:
-          strategy: new-failure-and-fixed
-          matrix-notifier: only-parent
-          channels:
-            - name: '#lttng'
-
+      - 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
 
 ## Templates
 - job-template:
 
     <<: *lttng-tools_build_axes_defaults
     <<: *lttng-tools_build_builders_defaults
-    <<: *lttng-tools_build_publishers_defaults
+    <<: *lttng-tools_build_publishers_dev
 
 - job-template:
     name: lttng-tools_{version}_cppcheck
           allow-empty: false
       - cppcheck:
           pattern: 'lttng-tools-cppcheck.xml'
-      - email:
+      - email-ext:
           recipients: 'ci-notification@lists.lttng.org'
-          notify-every-unstable-build: true
-          send-to-individuals: false
+          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-tools_{version}_scan-build
             min: 10
             max: 999
             unstable: 999
-      - email:
+      - email-ext:
           recipients: 'ci-notification@lists.lttng.org'
-          notify-every-unstable-build: true
-          send-to-individuals: false
-
+          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
 
 ## Project
 - project:
     name: lttng-tools
     github_user: lttng
     github_name: lttng-tools
+    email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
     version:
       - stable-2.7
       - stable-2.8
     user: jgalar
     github_user: jgalar
     github_name: lttng-tools
+    email_to: 'jgalar@efficios.com'
     jobs:
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: build
This page took 0.027045 seconds and 4 git commands to generate.