Last active
July 13, 2019 11:54
-
-
Save deptno/3b57e5ecb2fb4bef18f8578d45cc4a0f to your computer and use it in GitHub Desktop.
notify codebuild result to slack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ${CODEBUILD_BUILD_ID} | awk '{ print "{\"text\": \"빌드로그 <https://ap-northeast-2.console.aws.amazon.com/codebuild/home\?region\=ap-northeast-2\#/builds/" $1 "/view/new|" $1 ">\"}"}' | curl -H "Content-Type: application/json" -X POST -d @- https://api.dev.googit.co/common/send-to-channel-labs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment