From efb036df940e5defc5814cd949e013de708249b7 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 13 Dec 2017 16:09:57 -0500 Subject: [PATCH] Add email notification for lttng-scope jobs Signed-off-by: Jonathan Rajotte --- jobs/lttng-scope.yml | 151 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 129 insertions(+), 22 deletions(-) diff --git a/jobs/lttng-scope.yml b/jobs/lttng-scope.yml index 500c2a9..4d37b61 100644 --- a/jobs/lttng-scope.yml +++ b/jobs/lttng-scope.yml @@ -93,14 +93,48 @@ 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 @@ -160,13 +194,49 @@ 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: @@ -222,13 +292,48 @@ 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 @@ -281,6 +386,8 @@ 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: -- 2.34.1