From 15015d51626a679d851de43a5de5eb7b67200ae4 Mon Sep 17 00:00:00 2001 From: Brennan Date: Tue, 2 Jun 2020 12:34:13 -0700 Subject: [PATCH] Remove temp SDK on Helix (#22475) --- eng/helix/content/runtests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/helix/content/runtests.sh b/eng/helix/content/runtests.sh index 808ee8ac44..a1bf932706 100644 --- a/eng/helix/content/runtests.sh +++ b/eng/helix/content/runtests.sh @@ -92,4 +92,8 @@ echo "Running tests: $DOTNET_ROOT/dotnet run --project RunTests/RunTests.csproj $DOTNET_ROOT/dotnet run --project RunTests/RunTests.csproj -- --target $1 --sdk $2 --runtime $3 --queue $4 --arch $5 --quarantined $6 --ef $7 --aspnetruntime $8 --aspnetref $9 --helixTimeout ${10} exit_code=$? echo "Finished tests...exit_code=$exit_code" + +# dotnet-install.sh leaves the temporary SDK archive on the helix machine which slowly fills the disk, we'll be nice and clean it until the script fixes the issue +rm -r -f ${TMPDIR:-/tmp}/dotnet.* + exit $exit_code