Skip to content

Commit 9b867d3

Browse files
fix: also strip spotbugs/sonarqube config blocks from build.gradle
The previous sed only removed plugin declarations but left the spotbugsMain, spotbugsTest, and sonarqube configuration blocks which reference the removed plugins. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0c2ee5d commit 9b867d3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ extends:
5050
- script: |
5151
sed -i "/com.github.spotbugs/d" build.gradle
5252
sed -i "/org.sonarqube/d" build.gradle
53+
sed -i "/spotbugsMain/,/^}/d" build.gradle
54+
sed -i "/spotbugsTest/,/^}/d" build.gradle
55+
sed -i "/sonarqube {/,/^}/d" build.gradle
5356
displayName: Remove code analysis plugins (not available in network-isolated agents)
5457
5558
- task: Gradle@4

0 commit comments

Comments
 (0)