Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8280c57
)
CI-MAN: Unify backups
62/33462/1
author
pmikus
<
[email protected]
>
Fri, 9 Jul 2021 17:41:54 +0000
(17:41 +0000)
committer
Peter Mikus
<
[email protected]
>
Fri, 13 Aug 2021 06:54:34 +0000
(06:54 +0000)
+ tox must follow the $WORKSPACE/archives rule
Signed-off-by: pmikus <
[email protected]
>
Change-Id: I717afded894c3a5468bbf5013b242be5e1a9cb6e
(cherry picked from commit
88483ff0a6b4b5ff5b0390d8ff2adeb9a857c1c3
)
resources/libraries/bash/entry/tox.sh
patch
|
blob
|
history
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.
+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