:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
+ :sonar-jdk: JDK version to use. (default: openjdk17)
lf-infra-sonar-with-prescan
---------------------------
:sonar-additional-args: Command line arguments. (default: '')
:sonar-java-opts: JVM options. For example, use option -Xmx
to increase the memory size limit. (default: '')
+ :sonar-jdk: JDK version to use. (default: openjdk17)
:sonar-project-file: The file name with Sonar configuration properties
(default: sonar-project.properties)
:sonar-properties: Sonar configuration properties. (default: '')
sonar-project-file: sonar-project.properties
sonar-properties: ""
sonar-task: ""
+ sonar-jdk: openjdk17
parameters:
- lf-infra-parameters:
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"
+ sonar-jdk: "{sonar-jdk}"
- job-template:
name: "{project-name}-autotools-sonarqube"
sonar-project-file: "sonar-project.properties"
sonar-properties: ""
sonar-task: ""
+ sonar-jdk: openjdk17
parameters:
- lf-infra-parameters:
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"
+ sonar-jdk: "{sonar-jdk}"
- job-template:
name: "{project-name}-cmake-sonarqube"
sonar-properties: ""
sonar-java-opts: ""
sonar-additional-args: ""
+ sonar-jdk: openjdk17
gerrit_trigger_file_paths:
- compare-type: REG_EXP
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"
+ sonar-jdk: "{sonar-jdk}"
- _lf_sonar_builders_prescan: &lf_sonar_builders_prescan
name: lf-sonar-builders-prescan
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"
+ sonar-jdk: "{sonar-jdk}"
- _lf_sonar_gerrit_common: &lf_sonar_gerrit_common
name: lf-sonar-gerrit-common
properties: "{sonar-properties}"
java-opts: "{sonar-java-opts}"
additional-arguments: "{sonar-additional-args}"
+ jdk: "{sonar-jdk}"
- builder:
name: lf-infra-sonar-with-prescan
sonar-project-file: "sonar-project.properties"
sonar-properties: ""
sonar-task: ""
+ sonar-jdk: openjdk17
#####################
# Job Configuration #
sonar-properties: "{sonar-properties}"
sonar-java-opts: "{sonar-java-opts}"
sonar-additional-args: "{sonar-additional-args}"
+ sonar-jdk: "{sonar-jdk}"
publishers:
- lf-infra-publish
--- /dev/null
+---
+fixes:
+ - |
+ Update lf-infra-sonar macro to allow the sonar builder to take a specific
+ JDK version.