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

OZG-4833 dependency track

parent 5352aa36
Branches
Tags
No related merge requests found
...@@ -90,7 +90,7 @@ pipeline { ...@@ -90,7 +90,7 @@ pipeline {
stage ('Deploy SBOM to DependencyTrack') { stage ('Deploy SBOM to DependencyTrack') {
steps { steps {
script { script {
IMAGE_TAG = generateImageTag() IMAGE_TAG = def imageTag = "${env.BRANCH_NAME}-${getPomVersion('pom.xml')}"
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) { withCredentials([string(credentialsId: 'dependency-track-api-key', variable: 'API_KEY')]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment