[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] jenkins nodes: make sure problems like #1034116 don't go unnoticed

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Apr 9 13:45:28 BST 2023



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


Commits:
01e8279c by Holger Levsen at 2023-04-09T14:45:06+02:00
jenkins nodes: make sure problems like #1034116 don't go unnoticed

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

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
@@ -886,7 +886,7 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "osuosl1-amd64" ] || [ "$HOSTN
 	if [ -f "$KGB_SECRETS" ] && [ $(stat -c "%a:%U:%G" "$KGB_SECRETS") = "640:jenkins-adm:jenkins-adm" ] ; then
 		# the last condition is to assure the files are owned by the right user/team
 		if [ "$KGB_SECRETS" -nt $STAMP ] || [ "/srv/jenkins/bin/deploy_kgb.py" -nt "$STAMP" ] || [ ! -f $STAMP ] ; then
-			sudo -u jenkins-adm "/srv/jenkins/bin/deploy_kgb.py"
+			sudo -u jenkins-adm "/srv/jenkins/bin/deploy_kgb.py" || exit 1
 		else
 			explain "kgb-client configuration unchanged, nothing to do."
 		fi



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/01e8279cb59c20373f46544ff2d64c192bfdd776
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/20230409/5ff2c526/attachment.htm>


More information about the Qa-jenkins-scm mailing list