浏览代码

add snyk test

Benjamin Kornblum 5 月之前
父节点
当前提交
b3a7fd5b6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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') {