From 34a01d2b2237f3ff233208c3ee0465314633b285 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Apr 2016 20:33:49 +0300 Subject: move some code from .gitlab-ci.yml into tools repository. --- .gitlab-ci.yml | 8 +++----- 1 file 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: -- cgit v1.2.3-70-g09d2