diff --git a/azure-pipelines-official.yml b/azure-pipelines-official.yml index e2696db1aa1..cce74eda366 100644 --- a/azure-pipelines-official.yml +++ b/azure-pipelines-official.yml @@ -1,4 +1,4 @@ -# +# # See https://docs.microsoft.com/azure/devops/pipelines/yaml-schema for reference. # @@ -395,10 +395,10 @@ extends: pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: name: NetCore-Public - demands: ImageOverride -equals Build.Ubuntu.2004.Amd64.Open + demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: name: $(DncEngInternalBuildPool) - demands: ImageOverride -equals 1es-ubuntu-2004 + demands: ImageOverride -equals 1es-ubuntu-2204 os: linux strategy: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1d6a1fa2a55..a2d88760d09 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -362,10 +362,10 @@ stages: pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: name: NetCore-Public - demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open + demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: name: $(DncEngInternalBuildPool) - demands: ImageOverride -equals Build.Ubuntu.1804.Amd64 + demands: ImageOverride -equals Build.Ubuntu.2204.Amd64 strategy: matrix: