[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Revert "drop old code which makes no sense. revert is easy if needed..."

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Oct 21 22:07:59 BST 2021



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


Commits:
8f57ac47 by Holger Levsen at 2021-10-21T23:07:49+02:00
Revert "drop old code which makes no sense. revert is easy if needed..."

This reverts commit c6bf13d7fc109e76c513e7774b39903bd8da78ab.

- - - - -


1 changed file:

- bin/jenkins_master_wrapper.sh


Changes:

=====================================
bin/jenkins_master_wrapper.sh
=====================================
@@ -13,6 +13,13 @@ set -e
 # define Debian build nodes in use
 . /srv/jenkins/bin/jenkins_node_definitions.sh
 
+if [ "${NODE_NAME%.*}" = "$NODE_NAME" ]; then
+	# The NODE_NAME variable does not contain a dot, so it is not a FQDN.
+	# Fixup the value, hoping to get it right.
+	# XXX really this should not happen, how this came to be is unknown.
+	export NODE_NAME="${NODE_NAME}.debian.net"
+fi
+
 get_node_information "$NODE_NAME"
 
 # don't try to fetch artifacts by default



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8f57ac473a43f2c50d89992c097e3ddbb0d97996
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/20211021/ae187ff6/attachment.htm>


More information about the Qa-jenkins-scm mailing list