Skip to content

Commit

Permalink
There we go
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthHater committed May 28, 2020
1 parent c7181c6 commit 9340e00
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Jenkinsfile
Expand Up @@ -30,10 +30,12 @@ dockerizedBuildPipeline(
'''
},
vulnerabilityScan: {
withCredentials([usernamePassword(credentialsId: 'policy.s integration account',
usernameVariable: 'IQ_USERNAME', passwordVariable: 'IQ_PASSWORD')]) {
sh 'go list -m all | ./nancy iq -application nancy -stage build -user $IQ_USERNAME -token $IQ_PASSWORD -server-url https://policy.ci.sonatype.dev'
}
withDockerImage(env.DOCKER_IMAGE_ID, {
withCredentials([usernamePassword(credentialsId: 'policy.s integration account',
usernameVariable: 'IQ_USERNAME', passwordVariable: 'IQ_PASSWORD')]) {
sh 'go list -m all | ./nancy iq -application nancy -stage build -user $IQ_USERNAME -token $IQ_PASSWORD -server-url https://policy.ci.sonatype.dev'
}
})
},
testResults: [ 'test-results.xml' ],
onSuccess: {
Expand Down

0 comments on commit 9340e00

Please sign in to comment.