Snyk test composer and npm

This commit is contained in:
Jannis Portmann 2022-01-24 10:31:21 +01:00
parent 1f140475b9
commit af12833642
5 changed files with 41 additions and 33 deletions

11
Jenkinsfile vendored
View file

@ -12,10 +12,17 @@ node {
sh 'yarn install'
}
stage('Vulnr test') {
stage('Composer Vulnr test') {
snykSecurity(
snykInstallation: 'snyk-local',
targetFile: 'composer.json',
targetFile: 'composer.lock',
)
}
stage('npm vulnr test') {
snykSecurity(
snykInstallation: 'snyk-local',
targetFile: 'package.json',
)
}