From 31b27b3fcf85090348d49ce5f134a08a3e4c62e5 Mon Sep 17 00:00:00 2001 From: Mark Beierl Date: Thu, 10 Feb 2022 10:12:40 -0500 Subject: [PATCH] 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 --- jenkins/ci-pipelines/ci_stage_3.groovy | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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: ''' -- 2.17.1