diff --git a/modules/jenkins/files/slave_scripts/run-tox.sh b/modules/jenkins/files/slave_scripts/run-tox.sh index 28da76576f..7337fb3a6a 100755 --- a/modules/jenkins/files/slave_scripts/run-tox.sh +++ b/modules/jenkins/files/slave_scripts/run-tox.sh @@ -25,6 +25,8 @@ venv=py$version export NOSE_WITH_XUNIT=1 export NOSE_WITH_HTML_OUTPUT=1 export NOSE_HTML_OUT_FILE='nose_results.html' +export TMPDIR=`/bin/mktemp -d` +trap "rm -rf $TMPDIR" EXIT /usr/local/jenkins/slave_scripts/jenkins-oom-grep.sh pre