Do you want to request a feature or report a bug? Report a bug
Please provide the following info:
- MBT Version: 1.2.45 -> current latest version
- OS Version: Github Actions
- If possible, provide a link to the project.
Steps to Reproduce:
- Add sbom-create-commands to build-parameters
- Observe pipeline run uses default bom creation commands instead of provided sbom-create-commands
According to https://github.com/SAP/cloud-mta-build-tool/blob/v1.2.45/internal/commands/commands.go#L363 , by including sbom-create-commands in builder build-parameters should use it instead of the provided bom creation commands. However it does not work
I have tried the following structures:
build-parameters:
builder: custom
build-result: gen
commands:
- npm run build
sbom-create-commands: ["npx @cyclonedx/cyclonedx-npm --output-format XML --spec-version 1.4 --output-file bom-npm-sidecar.xml --omit dev"]
build-parameters:
builder: custom
build-result: gen
commands:
- npm run build
sbom-create-commands:
- npx @cyclonedx/cyclonedx-npm --output-format XML --spec-version 1.4 --output-file bom-npm-sidecar.xml --omit dev
Do you want to request a feature or report a bug? Report a bug
Please provide the following info:
Steps to Reproduce:
According to https://github.com/SAP/cloud-mta-build-tool/blob/v1.2.45/internal/commands/commands.go#L363 , by including
sbom-create-commandsin builderbuild-parametersshould use it instead of the provided bom creation commands. However it does not workI have tried the following structures: