Parcourir la source

add snyk test

Benjamin Kornblum il y a 5 mois
Parent
commit
b3a7fd5b6c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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') {