X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-maven-jobs.yaml;h=9bf175c359f960aa744ddcc7d2e10789b0f564c4;hb=5a6965f43f220bf6002bfde60897afd216f52ab0;hp=77f34de66bbda9d5481fc6c96cbafcbee75c85c2;hpb=56262484841c048e2127151c46f5863eea321862;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 77f34de6..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}" @@ -1663,3 +1668,4 @@ - branch-compare-type: ANT branch-pattern: "**/{branch}" file-paths: "{obj:gerrit_trigger_file_paths}" + comment-text-parameter-mode: PLAIN