summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-10-13 20:20:56 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-13 20:22:33 +0200
commitff43c2d46d46552b80306bbf20fe21da00452d7c (patch)
tree6cd3585f758c89b962af292a327a26745dd5d6ed
parenta96f3e7c1b1de928bf8ae022e0b5a0385754d3d8 (diff)
downloadjenkins.debian.net-ff43c2d46d46552b80306bbf20fe21da00452d7c.tar.xz
reproducible_openwrt|lede: remove cleanup
it's not needed here, cleanup the whole directory. it also brokes the save_logs in case of failure Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r--bin/reproducible_openwrt_common.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 4df7cb40..3af45b7a 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -267,13 +267,6 @@ openwrt_get_banner() {
cat $(find build_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null)
}
-openwrt_cleanup() {
- rm build_dir/target-* -rf
- rm staging_dir/target-* -rf
- rm bin/* -rf
- rm logs/* -rf
-}
-
# openwrt_build is run on a remote host
# TYPE - openwrt or lede
# RUN - b1 or b2. b1 means first run, b2 second
@@ -308,9 +301,6 @@ openwrt_build() {
# copy logs
node_save_logs "$TMPDIR"
-
- # clean up between builds
- openwrt_cleanup
}
# build openwrt/lede on two different hosts