Bug 1561 correction
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_3.groovy
index 83671d1..e8e6d25 100644 (file)
@@ -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: '''