summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-08 20:33:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-08 20:33:49 +0300
commit34a01d2b2237f3ff233208c3ee0465314633b285 (patch)
treefa5a2e382ba1e95391c59c87bde9cc5cbad52672 /.gitlab-ci.yml
parent1416f3c4a275189c5969671c500f93d6f85e480d (diff)
downloadclientdata-34a01d2b2237f3ff233208c3ee0465314633b285.tar.gz
clientdata-34a01d2b2237f3ff233208c3ee0465314633b285.tar.bz2
clientdata-34a01d2b2237f3ff233208c3ee0465314633b285.tar.xz
clientdata-34a01d2b2237f3ff233208c3ee0465314633b285.zip
move some code from .gitlab-ci.yml into tools repository.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b9264f4..72f579c5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,9 +11,6 @@ pages:
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
- - mkdir .shared
- - echo >.shared/error.log
- - echo ${CI_BUILD_ID} >.shared/buildid.log
- ./tools/gitlab-ci/clientdata.sh
artifacts:
paths:
@@ -34,7 +31,6 @@ ok_job:
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
# - ./tools/gitlab-ci/completeaction.sh "Build success. See https://gitlab.com/evol/clientdata/builds/$(tools/.shared/buildid.log)"
- - rm -rf .shared
when: on_success
cache:
key: "$CI_BUILD_REF_NAME"
@@ -54,12 +50,14 @@ fail_job:
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
# - ./tools/gitlab-ci/completeaction.sh "Build failed. See https://gitlab.com/evol/clientdata/builds/$(tools/.shared/buildid.log)"
- - rm -rf .shared
when: on_failure
cache:
key: "$CI_BUILD_REF_NAME"
paths:
- .shared
+ artifacts:
+ paths:
+ - .shared/error.log
dependencies:
- pages
only: