Fix success notifications on slack

This commit is contained in:
Greg Turnquist
2018-12-19 14:02:59 -06:00
parent 06444bc50b
commit a071e120dc

View File

@@ -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 <FAILURE>"
text: "Test has succeeded"
title: "$BUILD_PIPELINE_NAME/$BUILD_JOB_NAME #$BUILD_NAME"