Link complete Slack message to build log

See gh-21793
pull/22035/head
dreis2211 5 years ago committed by Madhura Bhave
parent 7a2939f129
commit 51cdb9ba54

@ -4,7 +4,7 @@ anchors:
username: ((github-username)) username: ((github-username))
password: ((github-password)) password: ((github-password))
branch: ((branch)) branch: ((branch))
docker-resource-source: &docker-resource-source docker-resource-source: &docker-resource-source
username: ((docker-hub-username)) username: ((docker-hub-username))
password: ((docker-hub-password)) password: ((docker-hub-password))
tag: ((milestone)) tag: ((milestone))
@ -52,8 +52,7 @@ anchors:
"zip.deployed": "false" "zip.deployed": "false"
slack-fail-params: &slack-fail-params slack-fail-params: &slack-fail-params
text: > text: >
:concourse-failed: ${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} failed! :concourse-failed: <https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} failed!>
[<https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|build log>]
[$TEXT_FILE_CONTENT] [$TEXT_FILE_CONTENT]
text_file: git-repo/build/build-scan-uri.txt text_file: git-repo/build/build-scan-uri.txt
silent: true silent: true
@ -61,8 +60,7 @@ anchors:
username: concourse-ci username: concourse-ci
slack-success-params: &slack-success-params slack-success-params: &slack-success-params
text: > text: >
:concourse-succeeded: ${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} was successful! :concourse-succeeded: <https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME} ${BUILD_JOB_NAME} was successful!>
[<https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|build log>]
[$TEXT_FILE_CONTENT] [$TEXT_FILE_CONTENT]
text_file: git-repo/build/build-scan-uri.txt text_file: git-repo/build/build-scan-uri.txt
silent: true silent: true
@ -97,7 +95,7 @@ resources:
- name: git-repo-windows - name: git-repo-windows
type: git type: git
icon: github-circle icon: github-circle
source: source:
<<: *git-repo-resource-source <<: *git-repo-resource-source
git_config: git_config:
- name: core.autocrlf - name: core.autocrlf

Loading…
Cancel
Save