X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-maven-jobs.yaml;h=aba6b9b7db19148401a22bc6c108554875d67592;hb=a5fa8a32ab2f856fecc7505fdfd7a8e12df2c402;hp=dec111f3ee41c73ba39173e91a34f7d38538aeee;hpb=2bad5c0629f130e09acb0225df6abfacfc760969;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index dec111f3..aba6b9b7 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -17,7 +17,7 @@ - builder: name: lf-maven-deploy builders: - - shell: !include-raw: + - shell: !include-raw-escape: - ../shell/common-variables.sh - ../shell/maven-deploy.sh @@ -1217,6 +1217,14 @@ CONTAINER_PUSH_REGISTRY={container-staging-registry} - lf-maven-build: mvn-goals: "{mvn-goals}" + # With SBOM Generator + - conditional-step: + condition-kind: boolean-expression + condition-expression: "{sbom-generator}" + steps: + - shell: echo 'Running SBOM Generator' + - lf-infra-maven-sbom-generator: + sbom-flags: "{sbom-flags}" - lf-sigul-sign-dir: sign-artifacts: "{sign-artifacts}" sign-dir: "$WORKSPACE/m2repo" @@ -1332,9 +1340,8 @@ sonarcloud-project-organization: "" sonarcloud-api-token-cred-id: sonarcloud-api-token sonarcloud-qualitygate-wait: false - # 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 + # Projects not compatible with jdk17 can set java-version to something else + sonarcloud-java-version: openjdk17 stream: master submodule-recursive: true submodule-timeout: 10