diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c6d3b09f53fd109e2ccb6343c8a6c718b3fdd6f5..4a1067b0a270b0b9e48d7350d39184f2aa4db5a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -229,5 +229,12 @@ job_test-parsers: image: $CI_REGISTRY_IMAGE/hep-workload-builder:latest stage: test-parsers script: - - aline=`printf '=%.0s' {1..100}`; - - for aparser in `find . -name "test_parser.sh"`; do echo -e "$aline\nRunning $aparser\n$aline"; $aparser || exit 1; done + - aline=`printf '=%.0s' {1..100}`; + - for aparser in `find . -name "test_parser.sh"`; do echo -e "$aline\nRunning $aparser\n$aline"; $aparser || exit 1; done + after_script: + - tar -cvzf archive.tgz . + artifacts: + paths: + - $CI_PROJECT_DIR/archive.tgz + expire_in: 1 week + when: on_failure