summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-24 22:28:32 +0100
committerJames Lopez <james@jameslopez.es>2016-02-24 22:28:32 +0100
commit1df2c1b2e73d19498653d3fce6b4464c70ca9772 (patch)
tree21e8e1747ec036f0b37e1cbcc280041d1a6431d3
parentc2d0671495c595815faaafb2a96a823df101dfe0 (diff)
downloadgitlab-ce-1df2c1b2e73d19498653d3fce6b4464c70ca9772.tar.gz
test
-rw-r--r--.gitlab-ci.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03568db2089..65b0478e7cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,9 +40,5 @@ rubocop:
notify:slack:
stage: notifications
script:
- - if [[ "$(basename „$PWD")" == "gitlab-ce" ]]; then
- ./scripts/notify_slack.sh "#ci-test" "Build failed! Check https://gitlab.com/gitlab-org/gitlab-ee/commit/$CI_BUILD_REF/builds"
- else
- ./scripts/notify_slack.sh "#ci-test" "Build failed! Check https://gitlab.com/gitlab-org/gitlab-ee/commit/$CI_BUILD_REF/builds"
- fi
+ - ./scripts/notify_slack.sh "#ci-test" "Build failed! Check https://gitlab.com/gitlab-org/$(basename „$PWD)/commit/$CI_BUILD_REF/builds"
when: on_failure \ No newline at end of file