Skip to content

Commit 0c2ee5d

Browse files
test: strip spotbugs/sonarqube plugins in daily-ci to test core dep resolution
Adds a sed step to remove the spotbugs and sonarqube plugin declarations from build.gradle before running Gradle on network-isolated 1ES agents. This tests whether the java.internalModuleProxy feature flag enables Maven Central access for core dependencies (okhttp, etc.). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent aae3f80 commit 0c2ee5d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.azure-pipelines/daily-ci-build.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ extends:
4747
- checkout: self
4848
submodules: recursive
4949

50+
- script: |
51+
sed -i "/com.github.spotbugs/d" build.gradle
52+
sed -i "/org.sonarqube/d" build.gradle
53+
displayName: Remove code analysis plugins (not available in network-isolated agents)
54+
5055
- task: Gradle@4
5156
displayName: Build and Test SDK
5257
inputs:

0 commit comments

Comments
 (0)