X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Fentry%2Ftox.sh;fp=resources%2Flibraries%2Fbash%2Fentry%2Ftox.sh;h=9edd6607d6710dc777adaf25cd77d7a53f57bbef;hp=c6ceb6503e472dd3a2078c0c919d53a58a826fae;hb=88483ff0a6b4b5ff5b0390d8ff2adeb9a857c1c3;hpb=7ebf93a4ed4f046f3685db87165a75772aa0557e diff --git a/resources/libraries/bash/entry/tox.sh b/resources/libraries/bash/entry/tox.sh index c6ceb6503e..9edd6607d6 100755 --- 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