From 3bf4d829f9c7082941a0bfb69f660c3f111b530b Mon Sep 17 00:00:00 2001 From: wenyutang-ms Date: Fri, 30 Oct 2026 12:27:39 +0800 Subject: [PATCH] fix: isolate SDL npm registry from build CFS configuration --- .azure-pipelines/vscode-java-test-ci.yml | 2 ++ .azure-pipelines/vscode-java-test-nightly.yml | 3 +++ .azure-pipelines/vscode-java-test-rc.yml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.azure-pipelines/vscode-java-test-ci.yml b/.azure-pipelines/vscode-java-test-ci.yml index b15805ee..0974e8c0 100644 --- a/.azure-pipelines/vscode-java-test-ci.yml +++ b/.azure-pipelines/vscode-java-test-ci.yml @@ -44,6 +44,8 @@ extends: name: 1ES_JavaTooling_Pool image: 1ES_JavaTooling_Ubuntu-2004 sdl: + sourceAnalysisVariablesToReset: + - npm_config_registry sourceAnalysisPool: name: 1ES_JavaTooling_Pool image: 1ES_JavaTooling_Windows_2022 diff --git a/.azure-pipelines/vscode-java-test-nightly.yml b/.azure-pipelines/vscode-java-test-nightly.yml index 7a87237c..4778de3c 100644 --- a/.azure-pipelines/vscode-java-test-nightly.yml +++ b/.azure-pipelines/vscode-java-test-nightly.yml @@ -24,6 +24,9 @@ extends: pool: name: VSEng-MicroBuildVSStable os: windows + sdl: + sourceAnalysisVariablesToReset: + - npm_config_registry stages: - stage: Build jobs: diff --git a/.azure-pipelines/vscode-java-test-rc.yml b/.azure-pipelines/vscode-java-test-rc.yml index caca2ae4..ba31c178 100644 --- a/.azure-pipelines/vscode-java-test-rc.yml +++ b/.azure-pipelines/vscode-java-test-rc.yml @@ -19,6 +19,9 @@ extends: pool: name: VSEng-MicroBuildVSStable os: windows + sdl: + sourceAnalysisVariablesToReset: + - npm_config_registry stages: - stage: Build jobs: