From: Mark Beierl Date: Thu, 10 Feb 2022 15:12:40 +0000 (-0500) Subject: Bug 1561 correction X-Git-Tag: v12.0.0rc1~38 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=31b27b3fcf85090348d49ce5f134a08a3e4c62e5;p=osm%2Fdevops.git Bug 1561 correction Adjust the method of creating the map for the SSH remote target as the previous syntax did not provide the intended results. Change-Id: I448c8b362a6caf2779f0a032ee84f838593d2374 Signed-off-by: Mark Beierl --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 83671d14..e8e6d25d 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -453,15 +453,15 @@ node("${params.NODE}") { repo_base_url = "-u http://${NODE_IP_ADDRESS}:${repo_port}" } - remote.with { - name = containerName - host = IP_ADDRESS - user = 'ubuntu' - identityFile = SSH_KEY - allowAnyHosts = true - logLevel = 'INFO' - pty = true - } + remote = [ + name: containerName, + host: IP_ADDRESS, + user: 'ubuntu', + identityFile: SSH_KEY, + allowAnyHosts: true, + logLevel: 'INFO', + pty: true + ] // Force time sync to avoid clock drift and invalid certificates sshCommand remote: remote, command: '''