summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-03-01 09:54:30 +0100
committerJames Lopez <james@jameslopez.es>2016-03-01 09:54:30 +0100
commit99d8c03d4a0455d4af25156395c762a43b368b6a (patch)
treea6ab5be226c9bc1cd150f3135512a2376d516a44 /.gitlab-ci.yml
parent581da235bfcf9fbd6442fd746a1e5a7a9901c927 (diff)
downloadgitlab-ce-99d8c03d4a0455d4af25156395c762a43b368b6a.tar.gz
added commit message to slack script
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e98b7a68ee..f4fa16f771b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -318,7 +318,7 @@ spinach:other:ruby22:
notify:slack:
stage: notifications
script:
- - ./scripts/notify_slack.sh "#builds" "Build on \`$CI_BUILD_REF_NAME\` failed! Check <https://gitlab.com/gitlab-org/$(basename "$PWD")/commit/"$CI_BUILD_REF"/builds>"
+ - ./scripts/notify_slack.sh "#builds" "Build on \`$CI_BUILD_REF_NAME\` failed! Commit: \`$(git log -1 --oneline)\` See <https://gitlab.com/gitlab-org/$(basename "$PWD")/commit/"$CI_BUILD_REF"/builds>"
when: on_failure
only:
- master@gitlab-org/gitlab-ce