[Qa-jenkins-scm] [jenkins.debian.net] 02/04: openwrt_common: make create_results_dirs flexible to allow lede builds

Holger Levsen holger at layer-acht.org
Sat Jul 23 14:45:42 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 553e81439825500059d2391f2926a7c79e87bc8a
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Jul 23 00:36:57 2016 +0200

    openwrt_common: make create_results_dirs flexible to allow lede builds
    
    could be also adopted by reproducible_common.sh
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_openwrt.sh        | 2 +-
 bin/reproducible_openwrt_common.sh | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 3b2c547..3e523aa 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -98,7 +98,7 @@ DBD_BAD_PKGS_HTML=$(mktemp --tmpdir=$TMPDIR)
 GOOD_IMAGES=0
 ALL_IMAGES=0
 SIZE=""
-create_results_dirs
+create_results_dirs openwrt
 cd $TMPDIR/b1
 tree .
 for i in * ; do
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index c280d05..34226dd 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -19,7 +19,8 @@ cleanup_tmpdirs() {
 }
 
 create_results_dirs() {
-	mkdir -p $BASE/openwrt/dbd
+	local project=$1
+	mkdir -p $BASE/$project/dbd
 }
 
 # type = openwrt or lede

-- 
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