Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CI: Switch to using reuse for license checking
[releng/global-jjb.git]
/
jjb
/
lf-maven-jobs.yaml
diff --git
a/jjb/lf-maven-jobs.yaml
b/jjb/lf-maven-jobs.yaml
index
abc6d0f
..
59cb893
100644
(file)
--- a/
jjb/lf-maven-jobs.yaml
+++ b/
jjb/lf-maven-jobs.yaml
@@
-17,7
+17,7
@@
- builder:
name: lf-maven-deploy
builders:
- builder:
name: lf-maven-deploy
builders:
- - shell: !include-raw:
+ - shell: !include-raw
-escape
:
- ../shell/common-variables.sh
- ../shell/maven-deploy.sh
- ../shell/common-variables.sh
- ../shell/maven-deploy.sh
@@
-733,6
+733,10
@@
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
+ jacoco-exclude-pattern: "**/gen/**,\
+ **/generated-sources/**,\
+ **/yang-gen**,\
+ **/pax/**"
java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean deploy
@@
-794,7
+798,8
@@
publishers:
- findbugs
publishers:
- findbugs
- - lf-jacoco-report
+ - lf-jacoco-report:
+ exclude-pattern: "{jacoco-exclude-pattern}"
- lf-infra-publish
- trigger-parameterized-builds: "{obj:post_build_trigger}"
- lf-infra-publish
- trigger-parameterized-builds: "{obj:post_build_trigger}"
@@
-1215,6
+1220,14
@@
CONTAINER_PUSH_REGISTRY={container-staging-registry}
- lf-maven-build:
mvn-goals: "{mvn-goals}"
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"
- lf-sigul-sign-dir:
sign-artifacts: "{sign-artifacts}"
sign-dir: "$WORKSPACE/m2repo"
@@
-1316,6
+1329,10
@@
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
+ jacoco-exclude-pattern: "**/gen/**,\
+ **/generated-sources/**,\
+ **/yang-gen**,\
+ **/pax/**"
java-version: openjdk11
java-opts: ""
mvn-global-settings: global-settings
java-version: openjdk11
java-opts: ""
mvn-global-settings: global-settings
@@
-1329,9
+1346,8
@@
sonarcloud-project-organization: ""
sonarcloud-api-token-cred-id: sonarcloud-api-token
sonarcloud-qualitygate-wait: false
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
stream: master
submodule-recursive: true
submodule-timeout: 10
@@
-1398,7
+1414,8
@@
notbuilt: true
publishers:
notbuilt: true
publishers:
- - lf-jacoco-report
+ - lf-jacoco-report:
+ exclude-pattern: "{jacoco-exclude-pattern}"
- findbugs
- lf-infra-publish
- findbugs
- lf-infra-publish
@@
-1710,6
+1727,10
@@
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
+ jacoco-exclude-pattern: "**/gen/**,\
+ **/generated-sources/**,\
+ **/yang-gen**,\
+ **/pax/**"
java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean deploy
@@
-1765,7
+1786,8
@@
publishers:
- findbugs
publishers:
- findbugs
- - lf-jacoco-report
+ - lf-jacoco-report:
+ exclude-pattern: "{jacoco-exclude-pattern}"
- lf-infra-publish
- job-template:
- lf-infra-publish
- job-template:
@@
-1950,6
+1972,10
@@
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
disable-job: false
git-url: "$GIT_URL/$PROJECT"
github-url: "https://github.com"
+ jacoco-exclude-pattern: "**/gen/**,\
+ **/generated-sources/**,\
+ **/yang-gen**,\
+ **/pax/**"
java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean deploy
java-version: openjdk11
mvn-global-settings: global-settings
mvn-goals: clean deploy
@@
-1995,7
+2021,8
@@
publishers:
- findbugs
publishers:
- findbugs
- - lf-jacoco-report
+ - lf-jacoco-report:
+ exclude-pattern: "{jacoco-exclude-pattern}"
- lf-infra-publish
- job-template:
- lf-infra-publish
- job-template: