diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 8344df101..cc77830a0 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -46,7 +46,7 @@ stages: - stage: build jobs: - job: Publish_Build_Configuration - pool: + pool: ${{ if eq(variables['System.TeamProject'], 'public') }}: name: NetCore1ESPool-Public demands: ImageOverride -equals build.windows.10.amd64.vs2019.open @@ -378,8 +378,6 @@ stages: - Source_Build_Managed - Source_Build_Create_Tarball publishUsingPipelines: true - pool: - vmImage: vs2017-win2016 - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - template: eng\common\templates\post-build\post-build.yml