Commit 289c57a1 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CI] move workspace back into artifacts even in case of failure

parent 87485835
......@@ -9,6 +9,7 @@ variables:
script:
- export INSTALL_DOCUMENTATION=OFF
- $CI_PROJECT_DIR/script/auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME} --gitrepo ${CI_PROJECT_URL}/raw --target test-ci
after_script:
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
artifacts:
expire_in: 1 day
......@@ -40,9 +41,10 @@ variables:
- $DEVEL_HPP_DIR/test.sh hpp-wholebody-step || status=1
#- $DEVEL_HPP_DIR/test.sh hpp-wholebody-step-corba || status=1
- set -e
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
- exit $status
allow_failure: true
after_script:
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
artifacts:
expire_in: 1 day
when: always
......@@ -61,6 +63,7 @@ variables:
#- make -C $DEVEL_HPP_DIR/src -s all
- $DEVEL_HPP_DIR/doc.sh
- tar czf ${DEVEL_HPP_DIR}/hpp.${CI_COMMIT_REF_NAME}.`date +"%Y%m%d"`.tar.gz $DEVEL_HPP_DIR/install/share/doc
after_script:
- mv $DEVEL_HPP_DIR $CI_PROJECT_DIR
allow_failure: true
artifacts:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment