File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed
projects/spotbugs-external-report
tests/src/test/java/com/sonar/it/java/suite Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 9696 strategy :
9797 fail-fast : false
9898 matrix :
99- sq_version :
100- - LATEST_RELEASE
101- - DEV
99+ item :
100+ - sq_version : LATEST_RELEASE
101+ java_version : 21
102+ - sq_version : LATEST_RELEASE
103+ java_version : 17
104+ - sq_version : DEV
105+ java_version : 21
102106 name : Plugin QA
103107 needs :
104108 - build
@@ -116,8 +120,8 @@ jobs:
116120 - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
117121 with :
118122 version : 2025.7.12
119- - name : Select Java 17
120- run : mise use java@17
123+ - name : Select Java Version
124+ run : mise use java@${{ matrix.item.java_version}}
121125 - name : Configure Maven
122126 uses : SonarSource/ci-github-actions/config-maven@v1
123127 with :
@@ -133,7 +137,7 @@ jobs:
133137 GITHUB_TOKEN : ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN }}
134138 run : |
135139 cd its/plugin
136- mvn package --batch-mode -Pit-plugin -Dsonar.runtimeVersion=${{ matrix.sq_version }} -Dmaven.test.redirectTestOutputToFile=false -B -e -V -Dparallel=classes -DuseUnlimitedThreads=true
140+ mvn package --batch-mode -Pit-plugin -Dsonar.runtimeVersion=${{ matrix.item. sq_version }} -Dmaven.test.redirectTestOutputToFile=false -B -e -V -Dparallel=classes -DuseUnlimitedThreads=true
137141
138142 sanity :
139143 name : Sanity Test
Original file line number Diff line number Diff line change 1414 <plugin >
1515 <groupId >com.github.spotbugs</groupId >
1616 <artifactId >spotbugs-maven-plugin</artifactId >
17- <version >4.5.3.0 </version >
17+ <version >4.9.8.2 </version >
1818 <configuration >
1919 <plugins >
2020 <plugin >
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void pmd() {
7474 public void spotbugs () {
7575 MavenBuild build = TestUtils .createMavenBuild ().setPom (TestUtils .projectPom ("spotbugs-external-report" ))
7676 .setProperty ("sonar.java.spotbugs.reportPaths" , "target" + File .separator + "spotbugsXml.xml" )
77- .setGoals ("clean package com.github.spotbugs:spotbugs-maven-plugin:4.5.3.0: spotbugs" , "sonar:sonar" );
77+ .setGoals ("clean package com.github.spotbugs:spotbugs-maven-plugin:spotbugs" , "sonar:sonar" );
7878 orchestrator .executeBuild (build );
7979
8080 String projectKey = "org.sonarsource.it.projects:spotbugs-external-report" ;
Original file line number Diff line number Diff line change 11[tools ]
2- java = [" 24" , " 17" ]
2+ java = [" 24" , " 21 " , " 17" ]
33maven = " 3.9"
You can’t perform that action at this time.
0 commit comments