Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
valenad1 committed Aug 7, 2024
1 parent 2a480bc commit 3603ec7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/jenkins/jenkinsfiles/Jenkinsfile-PrismaScan
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def dockerImage
def trivyVersion = "0.54.1"

def setPrismaScanningStages(assemblyType, stageIndex) {
def setScanningStages(assemblyType, stageIndex) {
branchName = "${env.BRANCH_NAME}".replace('/', '-')
assemblyImage = "h2o-assemblies/${assemblyType}:${BUILD_NUMBER}-${branchName}"

Expand Down Expand Up @@ -80,14 +80,14 @@ pipeline {
}
}
}
stage('2. Steam assembly jar (Prisma)') {
stage('2. Steam assembly jar') {
steps {
setPrismaScanningStages("steam", 2)
setScanningStages("steam", 2)
}
}
stage('3. Main assembly jar (Prisma)') {
stage('3. Main assembly jar') {
steps {
setPrismaScanningStages("main", 3)
setScanningStages("main", 3)
}
}
}
Expand Down

0 comments on commit 3603ec7

Please sign in to comment.