[
https://issues.apache.org/jira/browse/SLING-9839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17226899#comment-17226899
]
Bertrand Delacretaz commented on SLING-9839:
--------------------------------------------
Not that SonarQube jobs that have been existing for a while do not fail, they
just get a warning about the deprecated JDK.
Modules that have recently been onboarded to SonarCloud, like
https://github.com/apache/sling-org-apache-sling-adapter-annotations-it/ fail,
saying "To make sure everyone is aware of this limitation we fail the analysis
of new projects"
> Jenkins: Sonarcloud analysis with Java 11
> -----------------------------------------
>
> Key: SLING-9839
> URL: https://issues.apache.org/jira/browse/SLING-9839
> Project: Sling
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Priority: Major
>
> As SonarSource is stopping support for Java 8 analysis
> (https://sonarcloud.io/documentation/appendices/move-analysis-java-11/), we
> should switch to matrix builds with Jenkins with Java 8 and 11 builds in
> parallel
> (https://www.jenkins.io/blog/2019/12/02/matrix-building-with-scripted-pipeline/
> ).
> The Java 8 build should be deployed to Apache Snapshots (for backwards
> compatibility reasons). The Java 11 build should be used for coverage
> analysis and sonar execution..
--
This message was sent by Atlassian Jira
(v8.3.4#803005)