X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-maven-jobs.yaml;h=9bf175c359f960aa744ddcc7d2e10789b0f564c4;hb=refs%2Fchanges%2F80%2F65580%2F3;hp=d13bb5d31620fa2320d0ca8c6ec70d3b5f683607;hpb=7177ce9f9291a1cf2fa99fe6ff75e279ed4465ef;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index d13bb5d3..9bf175c3 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -1138,6 +1138,9 @@ sonarcloud-project-key: "" sonarcloud-project-organization: "" sonarcloud-api-token: "" + # SonarCloud scan using jdk8 will become deprecated by Oct, 2020 + # Projects not compatible with jdk11 can set java-version to something else + sonarcloud-java-version: openjdk11 stream: master submodule-recursive: true submodule-timeout: 10 @@ -1212,6 +1215,7 @@ sonarcloud-project-key: "{sonarcloud-project-key}" sonarcloud-project-organization: "{sonarcloud-project-organization}" sonarcloud-api-token: "{sonarcloud-api-token}" + sonarcloud-java-version: "{sonarcloud-java-version}" # With SonarQube - conditional-step: condition-kind: not @@ -1268,6 +1272,7 @@ PROJECT_ORGANIZATION={sonarcloud-project-organization} MAVEN_GOALS={mvn-goals} API_TOKEN={sonarcloud-api-token} + SONARCLOUD_JAVA_VERSION={sonarcloud-java-version} - lf-provide-maven-settings: global-settings-file: global-settings settings-file: "{mvn-settings}"