Skip to content

Commit

Permalink
sed
Browse files Browse the repository at this point in the history
  • Loading branch information
valenad1 committed Aug 7, 2024
1 parent 9fa887b commit a561c5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/jenkins/jenkinsfiles/Jenkinsfile-PrismaScan
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ def setScanningStages(assemblyType, stageIndex) {
stage ("${stageIndex}.B. Scan ${assemblyType} jar using Trivy") {
script {
sh "./trivy image ${assemblyImage} --output ${assemblyImage}-trivy.out"
sh "sed -i \"s/-/=/g\" ${assemblyImage}-trivy.out"
sh 'sed -i "s/-/=/g" ${assemblyImage}-trivy.out'
sed """
sed -i "s/-/=/g" ${assemblyImage}-trivy.out
"""
}
archiveArtifacts artifacts: "${assemblyImage}-trivy.out"
}
Expand Down

0 comments on commit a561c5d

Please sign in to comment.