Skip to content

Commit

Permalink
Link complete Slack message to build log
Browse files Browse the repository at this point in the history
  • Loading branch information
dreis2211 authored and mbhave committed Jun 11, 2020
1 parent 7a2939f commit 51cdb9b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ci/pipeline.yml
Expand Up @@ -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))
Expand Down Expand Up @@ -52,17 +52,15 @@ anchors:
"zip.deployed": "false"
slack-fail-params: &slack-fail-params
text: >
:concourse-failed: ${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>]
: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!>
[$TEXT_FILE_CONTENT]
text_file: git-repo/build/build-scan-uri.txt
silent: true
icon_emoji: ":concourse:"
username: concourse-ci
slack-success-params: &slack-success-params
text: >
:concourse-succeeded: ${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>]
: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!>
[$TEXT_FILE_CONTENT]
text_file: git-repo/build/build-scan-uri.txt
silent: true
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 51cdb9b

Please sign in to comment.