|
@@ -31,7 +31,7 @@ node {
|
|
|
stage('Snyk Test') {
|
|
stage('Snyk Test') {
|
|
|
/* This stage runs Snyk to test the image for vulnerabilities.
|
|
/* This stage runs Snyk to test the image for vulnerabilities.
|
|
|
* Make sure you have the Snyk plugin installed in Jenkins. */
|
|
* Make sure you have the Snyk plugin installed in Jenkins. */
|
|
|
- snykSecurity test: 'hochzeit:latest', failOnError: true, failOnIssues: true, snykInstallation: 'snyk@latest'
|
|
|
|
|
|
|
+ snykSecurity test: 'hochzeit:latest', failOnError: true, failOnIssues: true, snykInstallation: 'snyk@latest', snykTokenId: "SNYK API"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
stage('Push image') {
|
|
stage('Push image') {
|