Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix(uti): Fixing broken code part II
[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
..
22dfdfe
100755
(executable)
--- a/
resources/libraries/bash/entry/tox.sh
+++ b/
resources/libraries/bash/entry/tox.sh
@@
-29,5
+29,12
@@
source "${BASH_FUNCTION_DIR}/common.sh" || {
common_dirs || die
cd "${CSIT_DIR}" || die
activate_virtualenv "${CSIT_DIR}" "${CSIT_DIR}/tox-requirements.txt" || die
common_dirs || die
cd "${CSIT_DIR}" || die
activate_virtualenv "${CSIT_DIR}" "${CSIT_DIR}/tox-requirements.txt" || die
+set +e
# Verbosity is increased so console output shows any unwanted downloads.
# Verbosity is increased so console output shows any unwanted downloads.
-tox -vv # Return code is turned into Jenkins job vote.
+tox -vv
+TOX_EXIT_STATUS="$?"
+set -e
+mkdir -p "${CSIT_DIR}/archives" || die
+mv *.log "${CSIT_DIR}/archives" || die
+
+exit "${TOX_EXIT_STATUS}"