From 121481d90bd491a8639a96e3cec31369d3da1a3c Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 30 Sep 2020 17:18:47 +0100 Subject: [PATCH 1/3] [CI] Enable slack notifications --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 119cea9b3ab..317a5c781e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,6 +24,7 @@ pipeline { PIPELINE_LOG_LEVEL = 'INFO' PYTEST_ADDOPTS = "${params.PYTEST_ADDOPTS}" RUNBLD_DISABLE_NOTIFICATIONS = 'true' + SLACK_CHANNEL = "#beats-ci-builds" TERRAFORM_VERSION = "0.12.24" XPACK_MODULE_PATTERN = '^x-pack\\/[a-z0-9]+beat\\/module\\/([^\\/]+)\\/.*' } @@ -121,7 +122,7 @@ pipeline { runbld(stashedTestReports: stashedTestReports, project: env.REPO) } cleanup { - notifyBuildResult(prComment: true) + notifyBuildResult(prComment: true, slackComment: true) } } } From a46fb509d1ac8b61117558a33331a0c9ae603cf6 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 30 Sep 2020 17:19:07 +0100 Subject: [PATCH 2/3] chore: for testing purposes --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 317a5c781e3..fa845a26ce5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ #!/usr/bin/env groovy -@Library('apm@current') _ +@Library('apm@test/slackComment') _ import groovy.transform.Field /** From b8598b8307d26b7226d128c013bf795441c4cdae Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 2 Oct 2020 10:27:52 +0100 Subject: [PATCH 3/3] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fa845a26ce5..317a5c781e3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ #!/usr/bin/env groovy -@Library('apm@test/slackComment') _ +@Library('apm@current') _ import groovy.transform.Field /**