Skip to content

Commit a071e12

Browse files
committed
Fix success notifications on slack
1 parent 06444bc commit a071e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/pipeline-template.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -473,11 +473,11 @@ slack-failure: &slack-failure
473473
title_link: $ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME
474474

475475
slack-success: &slack-success
476-
on_failure:
476+
on_success:
477477
put: slack
478478
params:
479479
attachments:
480-
- color: danger
480+
- color: good
481481
fallback: "$BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME <FAILURE>"
482482
text: "Test has succeeded"
483483
title: "$BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME"

0 commit comments

Comments
 (0)