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