Explorar o código

add snyk test

Benjamin Kornblum hai 5 meses
pai
achega
b3a7fd5b6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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') {