From 0bcf0e9fcf7d6cae901bcc449b37a5a0099b4d84 Mon Sep 17 00:00:00 2001 From: David Michael Date: Fri, 31 May 2019 17:47:14 +0000 Subject: [PATCH] jenkins: Move workspace cleanup to the pipeline More space can be saved by removing things that get overwritten on the next job run, but they are used after this script runs (e.g. for fingerprinting). Drop the cleanup from these scripts and move it all to the post-build pipeline stage. --- jenkins/sdk.sh | 3 --- jenkins/toolchains.sh | 3 --- 2 files changed, 6 deletions(-) diff --git a/jenkins/sdk.sh b/jenkins/sdk.sh index ca482dd2b6..bfb472f479 100644 --- a/jenkins/sdk.sh +++ b/jenkins/sdk.sh @@ -20,6 +20,3 @@ enter sudo ${S}/bootstrap_sdk \ --sign_digests="${SIGNING_USER}" \ --upload_root="${UPLOAD_ROOT}" \ --upload - -# Free some disk space only on success to allow debugging failures. -sudo rm -rf src/build/catalyst/builds diff --git a/jenkins/toolchains.sh b/jenkins/toolchains.sh index e46ecf8c56..07df58bf42 100644 --- a/jenkins/toolchains.sh +++ b/jenkins/toolchains.sh @@ -20,6 +20,3 @@ enter sudo ${S}/build_toolchains \ --sign_digests="${SIGNING_USER}" \ --upload_root="${UPLOAD_ROOT}" \ --upload - -# Free some disk space only on success to allow debugging failures. -sudo rm -rf src/build/catalyst/builds