:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk11")
Sonar with Prescan
:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk11")
Sonar with Prescan Script
:sonar-properties: Sonar configuration properties. (default: "")
:sonar-java-opts: JVM options. (default: "")
:sonar-additional-args: Additional command line arguments. (default: "")
+ :sonarcloud-java-version: Version of Java to run the Sonar scan. (default: "openjdk11")
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
+ sonarcloud-java-version: openjdk11
stream: master
submodule-recursive: true
submodule-timeout: 10
name: lf-sonar-builders
builders:
- lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{sonarcloud-java-version}"
- lf-infra-sonar:
sonar-task: "{sonar-task}"
sonar-project-file: "{sonar-project-file}"
name: lf-sonar-builders-prescan
builders:
- lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{sonarcloud-java-version}"
- lf-infra-sonar-with-prescan:
sonar-task: "{sonar-task}"
sonar-project-file: "{sonar-project-file}"
name: lf-sonar-builders-prescan-script
builders:
- lf-infra-pre-build
+ - lf-update-java-alternatives:
+ java-version: "{sonarcloud-java-version}"
- shell: "{sonar-prescan-script}"
- lf-infra-sonar:
sonar-task: "{sonar-task}"