mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 00:37:23 +03:00
fix error message on daily compat failure (#6337)
When I changed the quoting for the success case as part of #6267, I forgot to update the error case, so now we don't get well-formed JSON for errors. CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
3cfed4d7a3
commit
1300644668
@ -11,7 +11,7 @@ steps:
|
||||
COMMIT_TITLE=$(git log --pretty=format:%s -n1)
|
||||
COMMIT_LINK="<https://dev.azure.com/digitalasset/daml/_build/results?buildId=$(Build.BuildId)|$COMMIT_TITLE>"
|
||||
if [ "$(Agent.JobStatus)" != "Succeeded" ]; then
|
||||
MESSAGE=":fire: :fire: <!here> :fire: :fire:\n$(Agent.JobName) *FAILED*: $COMMIT_LINK\n:fire: :fire:"
|
||||
MESSAGE="\":fire: :fire: <!here> :fire: :fire:\n$(Agent.JobName) *FAILED*: $COMMIT_LINK\n:fire: :fire:\""
|
||||
else
|
||||
MESSAGE="${{ parameters['success-message'] }}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user