Selaa lähdekoodia

add snyk test

Benjamin Kornblum 5 kuukautta sitten
vanhempi
sitoutus
b3a7fd5b6c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -31,7 +31,7 @@ node {
     stage('Snyk Test') {
         /* This stage runs Snyk to test the image for vulnerabilities.
          * 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') {