[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible_openwrt|lede: remove cleanup
Holger Levsen
holger at layer-acht.org
Thu Oct 13 18:22:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ff43c2d46d46552b80306bbf20fe21da00452d7c
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Thu Oct 13 20:20:56 2016 +0200
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 at layer-acht.org>
---
bin/reproducible_openwrt_common.sh | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 4df7cb4..3af45b7 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list