From e90a15ada831484669277cc74e9cc62883f0175b Mon Sep 17 00:00:00 2001 From: wenyutang-ms Date: Fri, 30 Oct 2026 11:43:54 +0800 Subject: [PATCH] fix: isolate SDL npm registry from build CFS configuration --- .azure-pipelines/ci.yml | 3 +++ .azure-pipelines/nightly.yml | 4 ++++ .azure-pipelines/rc.yml | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/.azure-pipelines/ci.yml b/.azure-pipelines/ci.yml index 1d67295b..0745716f 100644 --- a/.azure-pipelines/ci.yml +++ b/.azure-pipelines/ci.yml @@ -35,6 +35,9 @@ extends: name: 1ES_JavaTooling_Pool image: 1ES_JavaTooling_Ubuntu-2004 sdl: + # Keep Build's CFS registry override out of Guardian's feed-scoped authentication. + sourceAnalysisVariablesToReset: + - npm_config_registry sourceAnalysisPool: name: 1ES_JavaTooling_Pool image: 1ES_JavaTooling_Windows_2022 diff --git a/.azure-pipelines/nightly.yml b/.azure-pipelines/nightly.yml index d789efc3..cc87b43f 100644 --- a/.azure-pipelines/nightly.yml +++ b/.azure-pipelines/nightly.yml @@ -30,6 +30,10 @@ extends: parameters: pool: name: VSEng-MicroBuildVSStable + sdl: + # Keep Build's CFS registry override out of Guardian's feed-scoped authentication. + sourceAnalysisVariablesToReset: + - npm_config_registry stages: - stage: Build jobs: diff --git a/.azure-pipelines/rc.yml b/.azure-pipelines/rc.yml index d45dbc7e..28a0626e 100644 --- a/.azure-pipelines/rc.yml +++ b/.azure-pipelines/rc.yml @@ -25,6 +25,10 @@ extends: parameters: pool: name: VSEng-MicroBuildVSStable + sdl: + # Keep Build's CFS registry override out of Guardian's feed-scoped authentication. + sourceAnalysisVariablesToReset: + - npm_config_registry stages: - stage: Build jobs: