[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: support nodes with ssh running on ports different than 22

Holger Levsen gitlab at salsa.debian.org
Mon Jan 14 19:22:56 GMT 2019


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


Commits:
71879c41 by Holger Levsen at 2019-01-14T19:22:41Z
reproducible Arch Linux: support nodes with ssh running on ports different than 22

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

- - - - -


1 changed file:

- bin/reproducible_build_archlinux_pkg.sh


Changes:

=====================================
bin/reproducible_build_archlinux_pkg.sh
=====================================
@@ -279,7 +279,7 @@ remote_build() {
 	local BUILDNR=$1
 	local NODE=$2
 	local FQDN=$NODE.debian.net
-	local PORT=22
+	get_node_ssh_port $NODE
 	set +e
 	ssh -o "Batchmode = yes" -p $PORT $FQDN /bin/true
 	RESULT=$?
@@ -396,6 +396,7 @@ else
 	NODE1=$N2
 	NODE2=$N1
 fi
+PORT=22
 echo "============================================================================="
 echo "Initialising reproducibly build of ${SRCPACKAGE} in ${REPOSITORY} on ${ARCH} now."
 echo "1st build will be done on $NODE1."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/71879c41dfc4d55e846ff20e2b846d0f989e445c

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/71879c41dfc4d55e846ff20e2b846d0f989e445c
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/20190114/97e67726/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list