Fix: Isolate SBOM PATH flag 88/70088/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 27 Apr 2022 02:30:50 +0000 (19:30 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 27 Apr 2022 02:32:00 +0000 (19:32 -0700)
commit20d349ca5514cb566874e21e2a68ef682d69c072
tree2af5883becaa572903ccad03168e5b6b9129395e
parentdce223775bacca596e11f2eb2b064b6ca3fd40da
Fix: Isolate SBOM PATH flag

SBOM's path flag does not work as expected. We need to introduce a new
flag called SBOM_PATH to isolate the path where SBOM is going to be
extracted to and executed from. By default this is set to $WORKSPACE but
some projects need to execute the sbom from a different location in their
code. See https://github.com/opensbom-generator/spdx-sbom-generator/issues/227

Issue: RELENG-4213
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ibaaf4f89035f8aa9a773e199cf0cacb6c1e14947
docs/jjb/lf-maven-jobs.rst
jjb/lf-maven-jobs.yaml
releasenotes/notes/maven-sbom-generator-path-7987d3ec5dc2c1f9.yaml [new file with mode: 0644]
shell/sbom-generator.sh