Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pierre Fernbach
hpp-doc
Commits
289c57a1
Commit
289c57a1
authored
Oct 18, 2018
by
Guilhem Saurel
Browse files
[CI] move workspace back into artifacts even in case of failure
parent
87485835
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
289c57a1
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment