summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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