summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2016-03-01 09:11:00 +0000
committerJames Lopez <james@gitlab.com>2016-03-01 09:11:00 +0000
commit3292940745653a76dadd169a203619c5dfeebd4e (patch)
tree8bdd30b6b8346a797093096a282648e3a1a06404
parent581da235bfcf9fbd6442fd746a1e5a7a9901c927 (diff)
parentbc0d66645b24486ef2d6a7dcf5147ce6806b5220 (diff)
downloadgitlab-ce-3292940745653a76dadd169a203619c5dfeebd4e.tar.gz
Merge branch 'feature/slacky-builds-v2' into 'master'
Add commit message to slack script Ass suggested by @rdavila, this adds the current commit message as of HEAD to the slack script. See merge request !3027
-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..9f65e1204d3 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