[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: don't overwrite mainpage with coreboot page

Holger Levsen holger at moszumanska.debian.org
Mon Jun 8 21:44:05 UTC 2015


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 58154d6c0e012bd348c528b6970bd4f0e8f6e1fa
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jun 8 23:43:38 2015 +0200

    reproducible: don't overwrite mainpage with coreboot page
---
 bin/reproducible_common.sh      | 3 ---
 bin/reproducible_html_graphs.sh | 1 +
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 9005796..44049f9 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -298,9 +298,6 @@ write_explaination_table() {
 
 publish_page() {
 	if [ "$1" = "" ] ; then
-		if [ "$VIEW" = "$MAINVIEW" ] ; then
-			cp $PAGE $BASE/reproducible.html
-		fi
 		TARGET=$PAGE
 	else
 		TARGET=$1/$PAGE
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 424a9d0..6e399d0 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -641,6 +641,7 @@ create_main_stats_page() {
 	write_page "<br />There are <a href=\"$BASEURL/index_breakages.html\">some problems in this setup</a> too. And there is <a href=\"https://jenkins.debian.net/userContent/about.html#_reproducible_builds_jobs\">documentation</a> too, in case you missed the link at the top. More feedback is always welcome!</p>"
 	# the end
 	write_page_footer
+	cp $PAGE $BASE/reproducible.html
 	publish_page
 }
 

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