[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] special casing strange code, sigh
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Oct 21 19:26:56 BST 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
ebe91596 by Holger Levsen at 2021-10-21T20:26:40+02:00
special casing strange code, sigh
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/jenkins_master_wrapper.sh
Changes:
=====================================
bin/jenkins_master_wrapper.sh
=====================================
@@ -17,7 +17,12 @@ 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"
+ # (and then later the snapshot special case was added...)
+ if [ "$NODE_NAME" = 'snapshot' ]; then
+ export NODE_NAME='snapshot.reproducible-builds.org'
+ else
+ export NODE_NAME="${NODE_NAME}.debian.net"
+ fi
fi
get_node_information "$NODE_NAME"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ebe915962d27679d8935fbf638b9dad21836f96b
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ebe915962d27679d8935fbf638b9dad21836f96b
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/2243be0e/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list