summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-31 21:19:22 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-31 21:19:22 +0300
commitef151a7e96c9339660590bf908825c5f42d7d2f3 (patch)
tree9e70dadebf0e8df40bbe75e8cae30913a7dd506d
parentaa7860dc0e2fa4c39ac1df6d25c4390d7d1de235 (diff)
downloadplus-ef151a7e96c9339660590bf908825c5f42d7d2f3.tar.gz
plus-ef151a7e96c9339660590bf908825c5f42d7d2f3.tar.bz2
plus-ef151a7e96c9339660590bf908825c5f42d7d2f3.tar.xz
plus-ef151a7e96c9339660590bf908825c5f42d7d2f3.zip
Add into .gitlab-ci.yml ok and fail jobs.
-rw-r--r--.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7af811421..4f01b7a14 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,8 @@ stages:
- prebuild
- build
- stats
+ - ok
+ - fail
# with :; prevent from run it on windows
before_script:
@@ -4428,3 +4430,23 @@ pages:
expire_in: 3 week
only:
- master
+
+ok_job:
+ stage: ok
+ script:
+ - pwd
+ - echo $CI_BUILD_REF_NAME
+ dependencies: []
+ when: on_success
+ variables:
+ GIT_STRATEGY: none
+
+fail_job:
+ stage: fail
+ script:
+ - pwd
+ - echo $CI_BUILD_REF_NAME
+ dependencies: []
+ when: on_failure
+ variables:
+ GIT_STRATEGY: none