Skip to content

Commit

Permalink
Feat: Allow SBOM to run in docker-maven jobs
Browse files Browse the repository at this point in the history
Issue: RELENG-5062
Signed-off-by: Jessica Wagantall <[email protected]>
Change-Id: Ifd685f1c6266397a0086093fcb3680a02725d999
  • Loading branch information
jwagantall committed Dec 27, 2023
1 parent 5733fd5 commit 058ca43
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jjb/lf-maven-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
Allow SBOM reports to be generated for docker-maven stage jobs.

0 comments on commit 058ca43

Please sign in to comment.