From 5cd66f15d09b4331c10c816657c4bb4a69c43039 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Tue, 31 Oct 2023 14:24:26 -0700 Subject: [PATCH 1/3] Add source build leg --- eng/pipelines/azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/azure-pipelines.yml b/eng/pipelines/azure-pipelines.yml index be48264518..ee144458af 100644 --- a/eng/pipelines/azure-pipelines.yml +++ b/eng/pipelines/azure-pipelines.yml @@ -53,7 +53,7 @@ stages: enablePublishUsingPipelines: true publishAssetsImmediately: true enablePublishTestResults: true - # enableSourceBuild: true Once the repo is public and we no longer depend on an internal feed, we should uncomment this line in order to enable SourceBuild CI leg. + enableSourceBuild: true testResultsFormat: vstest enableSourceIndex: false workspace: From fa13faaf0bca610273d625b08f8a9f26cff60876 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Tue, 31 Oct 2023 14:35:15 -0700 Subject: [PATCH 2/3] Attempt nuget auth --- eng/common/templates/steps/source-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/common/templates/steps/source-build.yml b/eng/common/templates/steps/source-build.yml index 41bbb91573..7a4963e4de 100644 --- a/eng/common/templates/steps/source-build.yml +++ b/eng/common/templates/steps/source-build.yml @@ -14,6 +14,8 @@ parameters: steps: # Build. Keep it self-contained for simple reusability. (No source-build-specific job variables.) +- ${{ if and(eq(parameters.runAsPublic, 'false'), eq(variables['System.TeamProject'], 'internal')) }}: + - task: NuGetAuthenticate@0 - script: | set -x df -h From e2936dfcaa9f89eb9f96998264f303b19c404b2b Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Tue, 31 Oct 2023 14:39:37 -0700 Subject: [PATCH 3/3] Attempt nuget auth --- eng/common/templates/steps/source-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/templates/steps/source-build.yml b/eng/common/templates/steps/source-build.yml index 7a4963e4de..a36386450c 100644 --- a/eng/common/templates/steps/source-build.yml +++ b/eng/common/templates/steps/source-build.yml @@ -14,7 +14,7 @@ parameters: steps: # Build. Keep it self-contained for simple reusability. (No source-build-specific job variables.) -- ${{ if and(eq(parameters.runAsPublic, 'false'), eq(variables['System.TeamProject'], 'internal')) }}: +- ${{ if eq(variables['System.TeamProject'], 'internal') }}: - task: NuGetAuthenticate@0 - script: | set -x