File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
test/java/org/sonar/plugins/findbugs/it Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 23
23
include :
24
24
# 9.9 LTS
25
25
- SONAR_SERVER_VERSION : 9.9.7.96285
26
- SONAR_PLUGIN_API_VERSION : 9.17 .0.587
26
+ SONAR_PLUGIN_API_VERSION : 9.14 .0.375
27
27
SONAR_SERVER_JAVA_VERSION : 17
28
28
# 10.x
29
29
- SONAR_SERVER_VERSION : 10.7.0.96327
Original file line number Diff line number Diff line change 30
30
env :
31
31
# previous LTS version
32
32
SONAR_SERVER_VERSION : 9.9.7.96285
33
- SONAR_PLUGIN_API_VERSION : 9.17 .0.587
33
+ SONAR_PLUGIN_API_VERSION : 9.14 .0.375
34
34
SONAR_TOKEN : $SONAR_TOKEN
35
35
steps :
36
36
- name : Decide the ref to check out
Original file line number Diff line number Diff line change 59
59
<surefire .version>3.5.2</surefire .version>
60
60
<failsafe .version>3.5.2</failsafe .version>
61
61
<sonar .server.version>9.9.7.96285</sonar .server.version>
62
- <sonar-plugin-api .version>9.17 .0.587 </sonar-plugin-api .version>
62
+ <sonar-plugin-api .version>9.14 .0.375 </sonar-plugin-api .version>
63
63
<sonar-java .version>8.6.0.37351</sonar-java .version>
64
64
65
65
<sonar-orchestrator .version>5.0.0.2065</sonar-orchestrator .version>
76
76
<dependency >
77
77
<groupId >org.sonarsource.api.plugin</groupId >
78
78
<artifactId >sonar-plugin-api</artifactId >
79
- <version >9.17 .0.587 </version >
79
+ <version >9.14 .0.375 </version >
80
80
</dependency >
81
81
</dependencies >
82
82
</dependencyManagement >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function run_smoke_test() {
21
21
echo SonarQube has been launched.
22
22
23
23
count=0
24
- until mvn compile org.eclipse.jetty.ee8:jetty-ee8-jspc-maven-plugin:12.0.15:jspc org.sonarsource.scanner.maven:sonar-maven-plugin:5 .0.0.4389 :sonar -B -Dmaven.test.skip -Dsonar.profile=" FindBugs + FB-Contrib" -Dsonar.host.url=http://sonarqube:9000 -Dsonar.login=admin -Dsonar.password=admin; do
24
+ until mvn compile org.eclipse.jetty.ee8:jetty-ee8-jspc-maven-plugin:12.0.15:jspc org.sonarsource.scanner.maven:sonar-maven-plugin:4 .0.0.41219 :sonar -B -Dmaven.test.skip -Dsonar.profile=" FindBugs + FB-Contrib" -Dsonar.host.url=http://sonarqube:9000 -Dsonar.login=admin -Dsonar.password=admin; do
25
25
count=$[ $count + 1 ]
26
26
if [ $count -ge 5 ]; then
27
27
echo Sonar fails to scan 5 times!
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public class FindbugsTestSuite {
54
54
55
55
OrchestratorExtensionBuilder orchestratorBuilder = OrchestratorExtension .builderEnv ()
56
56
// Build the SonarQube server with an older version of the plugin
57
- .addPlugin (MavenLocation .of ("com.github.spotbugs" , "sonar-findbugs-plugin" , "4.0.6 " ))
57
+ .addPlugin (MavenLocation .of ("com.github.spotbugs" , "sonar-findbugs-plugin" , "4.3.0 " ))
58
58
.keepBundledPlugins ()
59
59
// Since SQ 9.8 permissions for 'Anyone' group has been limited for new instances
60
60
.useDefaultAdminCredentialsForBuilds (true )
@@ -72,7 +72,7 @@ public class FindbugsTestSuite {
72
72
File pluginTargetFile = new File (ORCHESTRATOR .getServer ().getHome (), "extensions/plugins/sonar-findbugs-plugin.jar" );
73
73
try (OutputStream out = new FileOutputStream (pluginTargetFile )) {
74
74
// Delete the old version of the plugin
75
- Files .delete (ORCHESTRATOR .getServer ().getHome ().toPath ().resolve ("extensions/plugins/sonar-findbugs-plugin-4.0.6 .jar" ));
75
+ Files .delete (ORCHESTRATOR .getServer ().getHome ().toPath ().resolve ("extensions/plugins/sonar-findbugs-plugin-4.3.0 .jar" ));
76
76
Files .copy (FileSystems .getDefault ().getPath ("target" , "sonar-findbugs-plugin.jar" ), out );
77
77
} catch (IOException e ) {
78
78
throw new RuntimeException (e );
You can’t perform that action at this time.
0 commit comments