summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-20 08:17:37 +0100
committerAndrew Bartlett <abartlet@samba.org>2019-01-26 22:16:38 +0100
commitb9924839ce6c4f8da56566fb0193a626696ab55b (patch)
tree8110952ade8cf20bd8289a1da080207d0c5a4d91 /.gitlab-ci.yml
parent5aee11c28693270aebc2abe5962fcca9d4cb4626 (diff)
downloadsamba-b9924839ce6c4f8da56566fb0193a626696ab55b.tar.gz
gitlab-ci: Use artifacts instead of after_script
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jan 26 22:16:38 CET 2019 on sn-devel-144
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cfa2ab1b6bb..5cc21033f53 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,14 @@ variables:
sudo mkswap /samba-swap;
sudo swapon /samba-swap;
fi
- after_script:
- - tar -xf logs.tar.gz system-info.txt -O
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - "*.stdout"
+ - "*.stderr"
+ - system-info.txt
+ - /tmp/samba-testbase/*/*/bin/config.log
build_samba_none_env:
<<: *shared_template