# Copyright (c) 2020 The DAML Authors. All rights reserved. # SPDX-License-Identifier: Apache-2.0 steps: - bash: | set -euo pipefail MESSAGE=$(git log --pretty=format:%s -n1) curl -XPOST \ -i \ -H 'Content-type: application/json' \ --data "{\"text\":\" *FAILED* $(Agent.JobName): \n\"}" \ $(Slack.team-daml) condition: and(failed(), eq(variables['Build.SourceBranchName'], 'master'))