Commit 03450159 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

[Gitlab CI] Always make artifacts of test and deploy + fix deploy

parent 7fa02c78
Pipeline #761 passed with stages
in 133 minutes and 36 seconds
...@@ -11,6 +11,7 @@ variables: ...@@ -11,6 +11,7 @@ variables:
- cp -r /clean_workspace $DEVEL_HPP_DIR - cp -r /clean_workspace $DEVEL_HPP_DIR
- $CI_PROJECT_DIR/script/auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME} --gitrepo https://gepgitlab.laas.fr/humanoid-path-planner/hpp-doc/raw --target benchmark - $CI_PROJECT_DIR/script/auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME} --gitrepo https://gepgitlab.laas.fr/humanoid-path-planner/hpp-doc/raw --target benchmark
artifacts: artifacts:
when: always
paths: paths:
- workspace - workspace
...@@ -35,17 +36,23 @@ variables: ...@@ -35,17 +36,23 @@ variables:
#- $DEVEL_HPP_DIR/test.sh hpp-wholebody-step-corba #- $DEVEL_HPP_DIR/test.sh hpp-wholebody-step-corba
allow_failure: true allow_failure: true
artifacts: artifacts:
when: always
paths: paths:
- workspace - workspace
.doc_template: &doc_definition .doc_template: &doc_definition
stage: deploy stage: deploy
script: script:
- echo -e "#!/bin/bash\nsource $DEVEL_HPP_DIR/config.sh\nmake -C $DEVEL_HPP_DIR/src -s all" > $DEVEL_HPP_DIR/doc.sh
- cat $DEVEL_HPP_DIR/doc.sh
- chmod u+x $DEVEL_HPP_DIR/doc.sh
- export INSTALL_DOCUMENTATION=ON - export INSTALL_DOCUMENTATION=ON
- make -C $DEVEL_HPP_DIR/src -s all #- make -C $DEVEL_HPP_DIR/src -s all
- $DEVEL_HPP_DIR/doc.sh
- tar czf hpp.${CI_COMMIT_REF_NAME}.`date +"%Y%m%d"`.tar.gz $DEVEL_HPP_DIR/install/share/doc - tar czf hpp.${CI_COMMIT_REF_NAME}.`date +"%Y%m%d"`.tar.gz $DEVEL_HPP_DIR/install/share/doc
allow_failure: true allow_failure: true
artifacts: artifacts:
when: always
paths: paths:
- workspace - workspace
......
Markdown is supported
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