diff --git a/eng/pipelines/coreclr/templates/superpmi-collect-pipeline.yml b/eng/pipelines/coreclr/templates/superpmi-collect-pipeline.yml index 3f260420a14a0e..a14e5e3b7b1db8 100644 --- a/eng/pipelines/coreclr/templates/superpmi-collect-pipeline.yml +++ b/eng/pipelines/coreclr/templates/superpmi-collect-pipeline.yml @@ -97,7 +97,11 @@ extends: buildArgs: -s clr+libs+libs.tests -rc $(_BuildConfig) -c Release /p:ArchiveTests=true timeoutInMinutes: 120 postBuildSteps: - # Build CLR assets for x64 as well as the target as we need an x64 mcs + # Build CLR assets for x64 as well as the target as we need an x64 + # mcs. We need to do that in a container, so ensure we can access the + # internal NuGet feeds in that container. + - task: NuGetAuthenticate@1 + target: linux_x64 - template: /eng/pipelines/common/templates/global-build-step.yml parameters: buildArgs: -s clr.spmi -c $(_BuildConfig) @@ -216,7 +220,11 @@ extends: buildArgs: -s clr+libs+libs.tests -rc $(_BuildConfig) -c Release /p:ArchiveTests=true timeoutInMinutes: 120 postBuildSteps: - # Build CLR assets for x64 as well as the target as we need an x64 mcs + # Build CLR assets for x64 as well as the target as we need an x64 + # mcs. We need to do that in a container, so ensure we can access the + # internal NuGet feeds in that container. + - task: NuGetAuthenticate@1 + target: linux_x64 - template: /eng/pipelines/common/templates/global-build-step.yml parameters: buildArgs: -s clr.spmi -c $(_BuildConfig)