Skip to content
Snippets Groups Projects
Commit 14aeccfc authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6710 set bomLocation

parent d63c153d
Branches
Tags
No related merge requests found
...@@ -100,7 +100,7 @@ pipeline { ...@@ -100,7 +100,7 @@ pipeline {
withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) { withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) {
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') { catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
sh "mvn --no-transfer-progress -s $MAVEN_SETTINGS io.github.pmckeown:dependency-track-maven-plugin:upload-bom -Ddependency-track.apiKey=$API_KEY -Ddependency-track.projectVersion=${IMAGE_TAG} -Ddependency-track.dependencyTrackBaseUrl=https://dependency-track.ozg-sh.de" sh "mvn --no-transfer-progress -s $MAVEN_SETTINGS io.github.pmckeown:dependency-track-maven-plugin:upload-bom -Ddependency-track.apiKey=$API_KEY -Ddependency-track.projectVersion=${IMAGE_TAG} -Ddependency-track.dependencyTrackBaseUrl=https://dependency-track.ozg-sh.de -Ddependency-track.bomLocation=target/classes/META-INF/sbom/application.cdx.json"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment