[Git][qa/jenkins.debian.net][master] reproduce.d.n: improve graph title
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Jan 9 12:44:34 GMT 2025
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
39c702f6 by Holger Levsen at 2025-01-09T13:44:01+01:00
reproduce.d.n: improve graph title
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/rebuilderd_graph.sh
Changes:
=====================================
bin/rebuilderd_graph.sh
=====================================
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright 2024 Holger Levsen (holger at layer-acht.org)
+# Copyright 2024-2025 Holger Levsen (holger at layer-acht.org)
# released under the GPLv2
set -e
@@ -42,11 +42,10 @@ fi
# update png if needed
#
if [ ! -f $PNG ] || [ $DUMMY_FILE -nt $PNG ] ; then
- if [ "$ARCH" = "amd64" ] ; then
- XLABEL="rebuilderd trixie arch:amd64 and arch:all"
- else
- XLABEL="rebuilderd trixie arch:$ARCH"
- fi
+ case $ARCH in
+ amd64) XLABEL="reproduced arch:amd64 and arch:all packages in trixie" ;;
+ *) XLABEL="reproduced arch:$ARCH packages in trixie" ;;
+ esac
GOOD=$(tail -1 $CSV | tr -d , | cut -d ' ' -f2)
BAD=$(tail -1 $CSV | tr -d , | cut -d ' ' -f4)
PERCENTAGE=$(echo "(100*$GOOD)/($GOOD+$BAD)"|bc)
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/39c702f647fc7e3742f1c5469d80e5828a3ccb08
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/39c702f647fc7e3742f1c5469d80e5828a3ccb08
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/20250109/618f61c1/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list