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 <mark.beierl@canonical.com>
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: '''