From a071e120dce2cb0778955ec369725ab80526bf05 Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Wed, 19 Dec 2018 14:02:59 -0600 Subject: [PATCH] Fix success notifications on slack --- ci/pipeline-template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/pipeline-template.yml b/ci/pipeline-template.yml index d61f724..1b975b3 100644 --- a/ci/pipeline-template.yml +++ b/ci/pipeline-template.yml @@ -473,11 +473,11 @@ slack-failure: &slack-failure title_link: $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME slack-success: &slack-success - on_failure: + on_success: put: slack params: attachments: - - color: danger + - color: good fallback: "$BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME " text: "Test has succeeded" title: "$BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME"