Revert the apt proxy in stage 3 as it appears that the cache gets
crossed packages if 2 or more builds run at the same time. Evidence
of problem is hash mismatch on osm_devops deb file during stage 3
Change-Id: Id8680453fd4588ca526ab1ea9cb8a322075e2386
Signed-off-by: beierlm <mark.beierl@canonical.com>
remote.logLevel = 'INFO'
remote.pty = true
- sshCommand remote: remote, command: """
- echo "Acquire::http::Proxy \\"$APT_PROXY\\";" | sudo tee /etc/apt/apt.conf.d/proxy.conf
- echo "Acquire::https::Proxy \\"$APT_PROXY\\";" | sudo tee -a /etc/apt/apt.conf.d/proxy.conf
- cat /etc/apt/apt.conf.d/proxy.conf
- """
// Force time sync to avoid clock drift and invalid certificates
sshCommand remote: remote, command: """
sudo apt update