Skip to content

Commit 5aaf03f

Browse files
committed
Java 11 isn't anymore supported by SonarCloud. Use a property to indicate we force the analyse with a deprecated Java version
1 parent 5d4cc94 commit 5aaf03f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/builds/silverpeas/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ void runSonarAnalysis(args) {
377377
-Dsonar.organization=silverpeas \\
378378
-Dsonar.branch.name=$args.branch \\
379379
-Dsonar.host.url=$SONAR_HOST_URL \\
380-
-Dsonar.login=$SONAR_AUTH_TOKEN
380+
-Dsonar.login=$SONAR_AUTH_TOKEN \\
381+
-Dsonar.scanner.force-deprecated-java-version=true
381382
"""
382383
}
383384
timeout(time: 30, unit: 'MINUTES') {

0 commit comments

Comments
 (0)