mirror of
https://github.com/corda/corda.git
synced 2025-06-01 15:10:54 +00:00
INFRA-1955: Remove duplicate 'Snyk Security' stage
This commit is contained in:
parent
34d7c154a9
commit
1dbd5147e5
15
.ci/dev/regression/Jenkinsfile
vendored
15
.ci/dev/regression/Jenkinsfile
vendored
@ -113,21 +113,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Snyk Security') {
|
|
||||||
when {
|
|
||||||
expression { isReleaseTag || isReleaseCandidate || isReleaseBranch }
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
// Invoke Snyk for each Gradle sub project we wish to scan
|
|
||||||
def modulesToScan = ['node', 'capsule', 'bridge', 'bridgecapsule']
|
|
||||||
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]+","_")}'")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('All Tests') {
|
stage('All Tests') {
|
||||||
when {
|
when {
|
||||||
expression { params.DO_TEST }
|
expression { params.DO_TEST }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user