[Qa-jenkins-scm] [jenkins.debian.net] 02/05: reproducible/openwrt|lede: move create_results_dirs upwards to fix dir not exists error

Holger Levsen holger at layer-acht.org
Sat Jul 23 22:35:49 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 f827914ce7d26fb9df308b2049e5459081fef849
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Jul 23 21:00:46 2016 +0200

    reproducible/openwrt|lede: move create_results_dirs upwards to fix dir not exists error
    
    Both builds try to write the logs into this directory even it doesn't exists before
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_lede.sh    | 4 ++--
 bin/reproducible_openwrt.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 3c4d77e..176c58a 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -45,6 +45,8 @@ git log -1
 #./scripts/feeds update -a
 #./scripts/feeds install -a
 
+create_results_dirs lede
+
 build_two_times lede ar71xx_generic_ARCHERC7 "CONFIG_TARGET_ar71xx_generic=y\nCONFIG_TARGET_ar71xx_generic_ARCHERC7=y\n"
 
 # for now we only build one architecture until it's at most reproducible
@@ -98,7 +100,6 @@ DBD_BAD_PKGS_HTML=$(mktemp --tmpdir=$TMPDIR)
 GOOD_IMAGES=0
 ALL_IMAGES=0
 SIZE=""
-create_results_dirs lede
 cd $TMPDIR/b1
 tree .
 for i in * ; do
@@ -138,7 +139,6 @@ GOOD_PERCENT_IMAGES=$(echo "scale=1 ; ($GOOD_IMAGES*100/$ALL_IMAGES)" | bc)
 # run diffoscope on the packages
 GOOD_PACKAGES=0
 ALL_PACKAGES=0
-create_results_dirs lede
 cd $TMPDIR/b1
 for i in * ; do
 	cd $i
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 3f37ea2..095a5ee 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -45,6 +45,8 @@ git log -1
 #./scripts/feeds update -a
 #./scripts/feeds install -a
 
+create_results_dirs openwrt
+
 build_two_times openwrt ar71xx_generic_ARCHERC7 "CONFIG_TARGET_ar71xx_generic=y\nCONFIG_TARGET_ar71xx_generic_ARCHERC7=y\n"
 
 # for now we only build one architecture until it's at most reproducible
@@ -98,7 +100,6 @@ DBD_BAD_PKGS_HTML=$(mktemp --tmpdir=$TMPDIR)
 GOOD_IMAGES=0
 ALL_IMAGES=0
 SIZE=""
-create_results_dirs openwrt
 cd $TMPDIR/b1
 tree .
 for i in * ; do
@@ -138,7 +139,6 @@ GOOD_PERCENT_IMAGES=$(echo "scale=1 ; ($GOOD_IMAGES*100/$ALL_IMAGES)" | bc)
 # run diffoscope on the packages
 GOOD_PACKAGES=0
 ALL_PACKAGES=0
-create_results_dirs openwrt
 cd $TMPDIR/b1
 for i in * ; do
 	cd $i

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