Merge branch 'gitlab-ci-keep-artifacts' into 'master'

Archive the full bin/tests/ directory and bin/named/named binary on build/test failure in GitLab CI

See merge request isc-projects/bind9!24
This commit is contained in:
Ondřej Surý 2018-02-14 08:52:30 -05:00
commit 3548061d03

View file

@ -91,14 +91,12 @@ stages:
- ./configure
- make -k all V=1
- make -k check V=1
# artifacts:
# untracked: true
# expire_in: '1 hour'
.test: &test_job
stage: test
before_script:
script:
artifacts:
paths:
- bin/named/named
- bin/tests/
expire_in: '1 day'
when: on_failure
build:debian:jessie:amd64:
<<: *debian_jessie_amd64_image