mirror of
https://github.com/corda/corda.git
synced 2025-01-18 10:46:38 +00:00
INFRA-1844: tidy up and expand scanning of projects
This commit is contained in:
parent
1e5b18c3b7
commit
8afcf57e38
7
.ci/dev/regression/Jenkinsfile
vendored
7
.ci/dev/regression/Jenkinsfile
vendored
@ -198,7 +198,12 @@ pipeline {
|
||||
expression { isReleaseTag || isReleaseCandidate || isReleaseBranch }
|
||||
}
|
||||
steps {
|
||||
snykSecurityScan("${env.SNYK_API_KEY}", "--sub-project=node --configuration-matching='^runtimeClasspath\$' --prune-repeated-subdependencies --debug --target-reference='${env.BRANCH_NAME}' --project-tags=Branch='${env.BRANCH_NAME.replaceAll("[^0-9|a-z|A-Z]+","_")}'")
|
||||
script {
|
||||
// Invoke Snyk for each Gradle sub project we wish to scan
|
||||
def modulesToScan = ['node', 'capsule']
|
||||
modulesToScan.each { module ->
|
||||
snykSecurityScan("${env.SNYK_API_KEY}", "--sub-project=$module --configuration-matching='^runtimeClasspath\$' --prune-repeated-subdependencies --debug --target-reference='${env.BRANCH_NAME}' --project-tags=Branch='${env.BRANCH_NAME.replaceAll("[^0-9|a-z|A-Z]+","_")}'")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user