Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CI-MAN: Unify backups
[csit.git]
/
resources
/
libraries
/
bash
/
entry
/
tox.sh
diff --git
a/resources/libraries/bash/entry/tox.sh
b/resources/libraries/bash/entry/tox.sh
index
c6ceb65
..
9edd660
100755
(executable)
--- a/
resources/libraries/bash/entry/tox.sh
+++ b/
resources/libraries/bash/entry/tox.sh
@@
-31,3
+31,9
@@
cd "${CSIT_DIR}" || die
activate_virtualenv "${CSIT_DIR}" "${CSIT_DIR}/tox-requirements.txt" || die
# Verbosity is increased so console output shows any unwanted downloads.
tox -vv # Return code is turned into Jenkins job vote.
activate_virtualenv "${CSIT_DIR}" "${CSIT_DIR}/tox-requirements.txt" || die
# Verbosity is increased so console output shows any unwanted downloads.
tox -vv # Return code is turned into Jenkins job vote.
+TOX_EXIT_STATUS="$?"
+
+mkdir -p "${CSIT_DIR}/archives" || die
+mv *.log "${CSIT_DIR}/archives" || die
+
+exit "${TOX_EXIT_STATUS}"
\ No newline at end of file