File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8)
55
66
77if [ " $CI_STEP_STATUS " = " success" ]; then
8- MESSAGE=" Did a build without issues on \` $CI_REPO_NAME /$CI_COMMIT_BRANCH \` . (<$CI_COMMIT_URL |$COMMIT_SHORT_SHA >)"
8+ MESSAGE=" Did a build without issues on \` $CI_REPO_NAME /$CI_COMMIT_BRANCH \` . Commit: _${CI_COMMIT_MESSAGE} _ (<$CI_COMMIT_URL |$COMMIT_SHORT_SHA >)"
9+
910
1011 curl -s -X POST -H " Content-Type: application/json" -d ' {
1112 "username": "' " $CI_COMMIT_AUTHOR " ' ",
2324export BUILD_LOG=$( cat ../../adminforth/build.log)
2425
2526
26- MESSAGE=" Broke \` $CI_REPO_NAME /$CI_COMMIT_BRANCH \` with commit (<$CI_COMMIT_URL |$COMMIT_SHORT_SHA >). "
27+ MESSAGE=" Broke \` $CI_REPO_NAME /$CI_COMMIT_BRANCH \` with commit _ ${CI_COMMIT_MESSAGE} _ (<$CI_COMMIT_URL |$COMMIT_SHORT_SHA >)"
2728CODE_BLOCK=" \`\`\` $BUILD_LOG \n\`\`\` "
2829
2930echo " Sending slack message to developers $MESSAGE "
You can’t perform that action at this time.
0 commit comments