Skip to content

Commit 527ec14

Browse files
fix: restore sed step to strip spotbugs/sonarqube plugins
SpotBugs and SonarQube Gradle plugin marker artifacts are only published to Gradle Plugin Portal, not Maven Central. The CFS upstream feed proxies Maven Central but not the Plugin Portal, so these plugins must be stripped before building. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent efd5633 commit 527ec14

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ extends:
4343
- checkout: self
4444
submodules: recursive
4545

46+
- script: |
47+
sed -i "/com.github.spotbugs/d" build.gradle
48+
sed -i "/org.sonarqube/d" build.gradle
49+
sed -i "/spotbugsMain/,/^}/d" build.gradle
50+
sed -i "/spotbugsTest/,/^}/d" build.gradle
51+
sed -i "/sonarqube {/,/^}/d" build.gradle
52+
displayName: Remove code analysis plugins (not available on CFS upstream feed)
53+
4654
- task: Gradle@4
4755
displayName: Build and Test SDK
4856
inputs:

0 commit comments

Comments
 (0)