summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml27
1 files changed, 15 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f9a748ff..77e19b49 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,31 +11,34 @@ pages:
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
+ - pwd
- ./tools/gitlab-ci/clientdata.sh
+ - pwd
+ - ls clientdata/shared
artifacts:
paths:
+ - shared
- public
- cache:
- key: "$CI_BUILD_REF_NAME"
- paths:
- - .shared
only:
- master
ok_job:
stage: ok
script:
+ - pwd
+ - ls shared
- apt-get update
- apt-get -y -qq install ii psmisc pastebinit
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
+ - pwd
+ - ls clientdata/shared
- ./tools/gitlab-ci/susseccaction.sh
when: on_success
- cache:
- key: "$CI_BUILD_REF_NAME"
+ artifacts:
paths:
- - .shared
+ - shared
dependencies:
- pages
only:
@@ -44,20 +47,20 @@ ok_job:
fail_job:
stage: fail
script:
+ - pwd
+ - echo $CI_BUILD_REF_NAME
+ - ls shared
- apt-get update
- apt-get -y -qq install ii psmisc pastebinit
- cd ..
- rm -rf tools
- git clone --depth 1 https://gitlab.com/evol/evol-tools.git tools
+ - ls clientdata/shared
- ./tools/gitlab-ci/failaction.sh
when: on_failure
- cache:
- key: "$CI_BUILD_REF_NAME"
- paths:
- - .shared
artifacts:
paths:
- - .shared/error.log
+ - shared
dependencies:
- pages
only: