From 89a4731f53f29b240884c2c9ff34068eaf106241 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Wed, 20 Jan 2021 21:31:48 -0500 Subject: [PATCH] Ensure bypass conditional template gets run for 1es ubuntu image (#1327) This fixes an issue where the DNS bypass workaround was not getting run for the new 1es pool ubuntu images. FYI @mitchdenny @alzimmermsft @samvaity --- eng/common/pipelines/templates/steps/bypass-local-dns.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/bypass-local-dns.yml b/eng/common/pipelines/templates/steps/bypass-local-dns.yml index 91b5c497830..c0608dbf64d 100644 --- a/eng/common/pipelines/templates/steps/bypass-local-dns.yml +++ b/eng/common/pipelines/templates/steps/bypass-local-dns.yml @@ -6,6 +6,9 @@ steps: condition: | and( succeededOrFailed(), - eq(variables['OSVmImage'], 'ubuntu-18.04'), + or( + eq(variables['OSVmImage'], 'ubuntu-18.04'), + eq(variables['OSVmImage'], 'MMSUbuntu18.04') + ), eq(variables['Container'], '') )