X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-cleanup.sh;h=9f3536a3c406d96e3d35ba003c9cdbd797fa8458;hb=6eefde1f463638b5021c2ec96eb67a017d379f1f;hp=8f5a62607a44a7d466bdf8c136e5e67a1d8147b2;hpb=1c748f633fba763bdb98cdc337f29b35b8b81e5e;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-cleanup.sh b/shell/jjb-cleanup.sh index 8f5a6260..9f3536a3 100644 --- a/shell/jjb-cleanup.sh +++ b/shell/jjb-cleanup.sh @@ -20,6 +20,7 @@ set -e -o pipefail # shellcheck source="$WORKSPACE/.jjb.properties" disable=SC1091 source "$WORKSPACE/.jjb.properties" if [[ -n "$JJB_VENV" && "$JJB_VENV" =~ /tmp/.* ]]; then - rm -r "$JJB_VENV" && "$JJB_VENV removed" + rm -r "$JJB_VENV" && echo "$JJB_VENV removed" + unset JJB_VENV fi rm "$WORKSPACE/.jjb.properties"