From 51cdb9ba54712b54f91e61aab9ea597a4571bdac Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 9 Jun 2020 18:18:45 +0200 Subject: [PATCH] Link complete Slack message to build log See gh-21793 --- ci/pipeline.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index d96bb1dc6c..0838f1234b 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -4,7 +4,7 @@ anchors: username: ((github-username)) password: ((github-password)) branch: ((branch)) - docker-resource-source: &docker-resource-source + docker-resource-source: &docker-resource-source username: ((docker-hub-username)) password: ((docker-hub-password)) tag: ((milestone)) @@ -52,8 +52,7 @@ anchors: "zip.deployed": "false" slack-fail-params: &slack-fail-params text: > - :concourse-failed: ${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} failed! - [] + :concourse-failed: [$TEXT_FILE_CONTENT] text_file: git-repo/build/build-scan-uri.txt silent: true @@ -61,8 +60,7 @@ anchors: username: concourse-ci slack-success-params: &slack-success-params text: > - :concourse-succeeded: ${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} was successful! - [] + :concourse-succeeded: [$TEXT_FILE_CONTENT] text_file: git-repo/build/build-scan-uri.txt silent: true @@ -97,7 +95,7 @@ resources: - name: git-repo-windows type: git icon: github-circle - source: + source: <<: *git-repo-resource-source git_config: - name: core.autocrlf