[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: refactor: store builtin-pho results on jenkins
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Jul 4 20:50:43 BST 2022
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
7e050763 by Holger Levsen at 2022-07-04T21:50:18+02:00
reproducible Debian: refactor: store builtin-pho results on jenkins
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_html_builtin-pho.sh
Changes:
=====================================
bin/reproducible_html_builtin-pho.sh
=====================================
@@ -133,8 +133,11 @@ for ARCH in ${ARCHS} ; do
query_builtin_pho_db_hits
query_builtin_pho_db_misses
mkdir -p ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH
- echo $HITS > ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/hits
- echo $MISSES > ~jenkins/builtin-pho-html/debian/$SUITE/$ARCH/misses
+ DATE=$(date -u +'%Y-%m-%d')
+ STATS_FILE=/var/lib/jenkins/builtin-pho-html/debian/$SUITE/$ARCH/builtin-pho_stats.txt
+ if ! grep -q ^$DATE $STATS_FILE ; then
+ echo $DATE,$HITS,$MISSES >> $STATS_FILE
+ fi
create_buildinfos_page
create_no_buildinfos_page
done
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7e050763ec89a72ea19f20f81a263b7a07413ce1
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7e050763ec89a72ea19f20f81a263b7a07413ce1
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/20220704/224f5173/attachment.htm>
More information about the Qa-jenkins-scm
mailing list