Snyk test composer and npm
This commit is contained in:
parent
1f140475b9
commit
af12833642
5 changed files with 41 additions and 33 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -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',
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue