summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bddbc547..5819f343 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,13 @@ variables:
script:
- docker --version
- docker info
- - .gitlab/build.sh ${DOCKER_IMAGE}
+ - if ! .gitlab/build.sh ${DOCKER_IMAGE} >> dockerbuild.log 2>&1; then echo "Image build failed. Please check dockerbuild.log."; exit 1; fi;
+ allow_failure: false
+ artifacts:
+ when: on_failure
+ expire_in: 31d
+ paths:
+ - dockerbuild.log
docker_image:sdk:
stage: docker_image_sdk