Run Sonar scans using JDK11. 01/65201/2 v0.57.0
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 25 Aug 2020 22:15:42 +0000 (15:15 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 26 Aug 2020 18:38:01 +0000 (11:38 -0700)
commit09979e2fde9b92aa7bc00de4175a88d64fe9e33f
tree38911a7f532f2bff14be8c08f565eb5af9abcfc9
parent33e49c57ff646e8bad3d033ee770df88d8051f73
Run Sonar scans using JDK11.

java-version will only set java for the maven build
part of the job, the sonar scan will use
sonarcloud-java-version which is set to openjdk11.

Projects not compatible with JDK11 will be able to
run their build with java-version set to their JDK
preference.
https://sonarcloud.io/documentation/user-guide/move-analysis-java-11/

Issue: RELENG-3176
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ida96043317da7671034416df6a438350041f4731
docs/jjb/lf-maven-jobs.rst
jjb/lf-maven-jobs.yaml
jjb/lf-python-jobs.yaml
releasenotes/notes/maven-sonar-jdk-override-d73c9d6436dfacae.yaml [new file with mode: 0644]
shell/maven-sonar.sh