소스 검색

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') {