This is an automated email from the ASF dual-hosted git repository.
drazzib pushed a commit to branch GORA-675
in repository https://gitbox.apache.org/repos/asf/gora.git
The following commit(s) were added to refs/heads/GORA-675 by this push:
new d97f212 Jenkinsfile: Use Java 11 SonarCloud Code Quality
d97f212 is described below
commit d97f212d6a15fb824529f0c501baa1ab2a4a36cc
Author: Damien Raude-Morvan <[email protected]>
AuthorDate: Mon Apr 19 22:31:44 2021 +0200
Jenkinsfile: Use Java 11 SonarCloud Code Quality
---
Jenkinsfile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index df06dd7..31c880d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -105,6 +105,12 @@ pipeline {
}
stage('Code Quality') {
+ //
https://sonarcloud.io/documentation/appendices/move-analysis-java-11/
+ // "continue building in Java 8 but will use Java 11 to scan the
code"
+ //
https://cwiki.apache.org/confluence/display/INFRA/JDK+Installation+Matrix
+ tools {
+ jdk 'jdk_11_latest'
+ }
steps {
echo 'Checking Code Quality on SonarCloud'
// 'drazzib-sonarcloud-token' needs to be defined for this job
and contains the user token