[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible_lede: add missing cd source in node_document_environment

Holger Levsen holger at layer-acht.org
Sun Jun 25 01:11:21 UTC 2017


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 74139ffb7332fc2bafd98bef78105e03c15d9934
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sat Jun 24 19:00:57 2017 +0200

    reproducible_lede: add missing cd source in node_document_environment
    
    Fixes empty contents of
    - `Target toolchains built`,
    - `build_dir/host/`
    - `Downloaded software`
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_lede_common.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index a4793b4..5301c3d 100644
--- a/bin/reproducible_lede_common.sh
+++ b/bin/reproducible_lede_common.sh
@@ -78,7 +78,7 @@ node_document_environment() {
 	local tmpdir=$1
 	local toolchain_html=$tmpdir/toolchain.html
 
-	cd $tmpdir/build
+	cd $tmpdir/build/source
 	echo "<table><tr><th>Target toolchains built</th></tr>" > $toolchain_html
 	for i in $(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo) ; do
 		echo " <tr><td><code>$i</code></td></tr>" >> $toolchain_html
@@ -101,6 +101,7 @@ node_document_environment() {
 		echo " </td></tr>" >> $toolchain_html
 	done
 	echo "</table>" >> $toolchain_html
+	cd -
 }
 
 # node_save_logs can be called over ssh OR called within openwrt_build

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