diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-31 21:19:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-31 21:19:22 +0300 |
commit | ef151a7e96c9339660590bf908825c5f42d7d2f3 (patch) | |
tree | 9e70dadebf0e8df40bbe75e8cae30913a7dd506d /.gitlab-ci.yml | |
parent | aa7860dc0e2fa4c39ac1df6d25c4390d7d1de235 (diff) | |
download | ManaVerse-ef151a7e96c9339660590bf908825c5f42d7d2f3.tar.gz ManaVerse-ef151a7e96c9339660590bf908825c5f42d7d2f3.tar.bz2 ManaVerse-ef151a7e96c9339660590bf908825c5f42d7d2f3.tar.xz ManaVerse-ef151a7e96c9339660590bf908825c5f42d7d2f3.zip |
Add into .gitlab-ci.yml ok and fail jobs.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 22 |
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 |