[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: rsync html pages with builtin-pho stats to jenkins
Holger Levsen
gitlab at salsa.debian.org
Thu Feb 27 00:34:41 GMT 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
0cae3533 by Holger Levsen at 2020-02-27T01:34:30+01:00
reproducible Debian: rsync html pages with builtin-pho stats to jenkins
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- bin/reproducible_html_builtin-pho.sh
- + bin/reproducible_html_rsync_builtin-pho.sh
- job-cfg/reproducible.yaml
Changes:
=====================================
bin/reproducible_html_builtin-pho.sh
=====================================
@@ -54,7 +54,11 @@ create_buildinfo_page() {
write_page "</pre>"
# the end
write_page_footer
- publish_page debian/$SUITE/$ARCH
+ # copy to ~jenkins/builtin-pho-html/ for rsyncing to jenkins with another job
+ mkdir -p ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH
+ echo "$(date -u) - $(cp -v $PAGE ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/)"
+ rm $PAGE
+ echo "$(date -u) - enjoy $REPRODUCIBLE_URL/debian/$SUITE/$ARCH/$PAGE"
}
#
=====================================
bin/reproducible_html_rsync_builtin-pho.sh
=====================================
@@ -0,0 +1,16 @@
+#!/bin/bash
+# vim: set noexpandtab:
+
+# Copyright 2020 Holger Levsen <holger at layer-acht.org>
+# released under the GPLv2
+
+DEBUG=false
+. /srv/jenkins/bin/common-functions.sh
+common_init "$@"
+
+# common code defining db access
+. /srv/jenkins/bin/reproducible_common.sh
+
+# rsync builtin-pho results from pb7
+rsync -av profitbricks-build7-amd64.debian.net:/var/lib/jenkins/builtin-pho-html/ $BASE/debian/
+
=====================================
job-cfg/reproducible.yaml
=====================================
@@ -536,6 +536,9 @@
my_timed: '10 * * * *'
my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh'
my_hname: 'profitbricks7'
+ - 'html_rsync_builtin-pho':
+ my_description: 'rsync HTML pages for stats about .buildinfo from pb7 to jenkins.'
+ my_timed: '15 * * * *'
- 'html_pkg_sets':
my_description: 'Generate HTML results (package sets with graphs) for reproducible builds.'
my_timed: '45 */2 * * *'
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0cae35335d550188fcda50f151c6f0dbe5aa5bee
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0cae35335d550188fcda50f151c6f0dbe5aa5bee
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200227/3f294c6a/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list