aboutsummaryrefslogtreecommitdiff
path: root/robher-aosp-gendev.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-09-11 15:48:50 +0530
committerRob Herring <rob.herring@linaro.org>2017-10-24 19:14:59 +0000
commit18e027f55909868a876695bb69b0889a8c92b65d (patch)
tree2371979cd3559da1fedc57c798aa449f0a8dd0fd /robher-aosp-gendev.yaml
parent9fb67a45b0ac6bc53c036e0fa98516090b951454 (diff)
robher: delete sources after build to save space
Change-Id: I00f2352bffac13ceb0ebf18769929d9b566e9108 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'robher-aosp-gendev.yaml')
-rw-r--r--robher-aosp-gendev.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/robher-aosp-gendev.yaml b/robher-aosp-gendev.yaml
index adfa3ee0..64a6ca8d 100644
--- a/robher-aosp-gendev.yaml
+++ b/robher-aosp-gendev.yaml
@@ -81,6 +81,8 @@
# Publish binaries
wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-lcr/generic/build-info/public-template.txt -O ${ANDROID_PRODUCT_OUT}/BUILD-INFO.txt
+ # Delete sources after build to save space
+ rm -rf art/ dalvik/ kernel/ bionic/ developers/ libcore/ sdk/ bootable/ development/ libnativehelper/ system/ build/ device/ test/ build-info/ docs/ packages/ toolchain/ .ccache/ external/ pdk/ tools/ compatibility/ frameworks/ platform_testing/ vendor/ cts/ hardware/ prebuilts/ linaro*
# Publish parameters
cat << EOF > ${WORKSPACE}/publish_parameters