Bug 1841 Partial Revert 39/11539/1
authorbeierlm <mark.beierl@canonical.com>
Thu, 20 Jan 2022 13:39:55 +0000 (08:39 -0500)
committerbeierlm <mark.beierl@canonical.com>
Thu, 20 Jan 2022 13:39:55 +0000 (08:39 -0500)
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>
jenkins/ci-pipelines/ci_stage_3.groovy

index 64a55cc..d17d46e 100644 (file)
@@ -446,11 +446,6 @@ node("${params.NODE}") {
                     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