[Git][qa/jenkins.debian.net][master] r.d.n: add summary to scheduler script

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Feb 7 11:17:13 GMT 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
30e45a5e by Holger Levsen at 2025-02-07T12:17:06+01:00
r.d.n: add summary to scheduler script

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/rebuilderd_manual_scheduler.sh


Changes:

=====================================
bin/rebuilderd_manual_scheduler.sh
=====================================
@@ -27,6 +27,14 @@ esac
 ARCH=$1
 shift
 PKGS=$@
+SUCCESSES=""
+FAILURES=""
 for i in $PKGS ; do 
-	env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:$PORT pkgs requeue --reset --distro debian --name $i
+	if env REBUILDERD_COOKIE_PATH=~/.local/share/rebuilderd-auth-cookie /opt/usr/bin/rebuildctl -H http://127.0.0.1:$PORT pkgs requeue --reset --distro debian --name $i ; then
+		SUCCESSES="$SUCCESSES $i"
+	else
+		FAILURES="$FAILURES $i"
+	fi
 done
+echo Failed to schedule on $ARCH: $FAILURES
+echo Successfully scheduled on $ARCH: $SUCCESSES



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/30e45a5e9719bdc21d43789bb78ca55b742d1e46

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/30e45a5e9719bdc21d43789bb78ca55b742d1e46
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/20250207/def27670/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list