mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
remove snyk
This commit is contained in:
parent
172a600d95
commit
cbeb1b621b
58
.ci/dev/regression/Jenkinsfile
vendored
58
.ci/dev/regression/Jenkinsfile
vendored
@ -89,36 +89,36 @@ 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']
|
||||
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('Snyk Security') {
|
||||
// when {
|
||||
// expression { isReleaseTag || isReleaseCandidate || isReleaseBranch }
|
||||
// }
|
||||
// steps {
|
||||
// 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]+","_")}'")
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('Generate Snyk License Report') {
|
||||
when {
|
||||
expression { isReleaseTag || isReleaseCandidate || isReleaseBranch }
|
||||
}
|
||||
steps {
|
||||
snykLicenseGeneration(env.SNYK_TOKEN, env.C4_OS_SNYK_ORG_ID)
|
||||
}
|
||||
post {
|
||||
always {
|
||||
script {
|
||||
archiveArtifacts artifacts: 'snyk-license-report/*-snyk-license-report.html', allowEmptyArchive: true, fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// stage('Generate Snyk License Report') {
|
||||
// when {
|
||||
// expression { isReleaseTag || isReleaseCandidate || isReleaseBranch }
|
||||
// }
|
||||
// steps {
|
||||
// snykLicenseGeneration(env.SNYK_TOKEN, env.C4_OS_SNYK_ORG_ID)
|
||||
// }
|
||||
// post {
|
||||
// always {
|
||||
// script {
|
||||
// archiveArtifacts artifacts: 'snyk-license-report/*-snyk-license-report.html', allowEmptyArchive: true, fingerprint: true
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
stage('All Tests') {
|
||||
when {
|
||||
|
Loading…
Reference in New Issue
Block a user