Skip to content
GitLab
Menu
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
f39411f5
Commit
f39411f5
authored
Sep 07, 2018
by
Guilhem Saurel
Browse files
[CI] remove /workspace for test & deploy, to get the version from the previous stage
parent
ae805489
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f39411f5
...
...
@@ -19,6 +19,7 @@ variables:
.test_template
:
&test_definition
stage
:
test
script
:
-
rm -rf /workspace
-
mv workspace /
-
status=0
-
echo -e "#!/bin/bash\nsource $DEVEL_HPP_DIR/config.sh\ncd $DEVEL_HPP_DIR/src/\$1/build-rel && make CTEST_OUTPUT_ON_FAILURE=1 test" > $DEVEL_HPP_DIR/test.sh || status=1
...
...
@@ -51,6 +52,7 @@ variables:
.doc_template
:
&doc_definition
stage
:
deploy
script
:
-
rm -rf /workspace
-
mv workspace /
-
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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