Merge pull request #7296 from corda/connelm/INFRA-2021/move-snyk-delta-stage

INFRA-2021: Unblock C4 PR gates - Snyk Delta
This commit is contained in:
Ronan Browne 2023-02-21 10:49:27 +00:00 committed by GitHub
commit 9443bd7a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,19 +20,6 @@ pipeline {
}
stages {
stage('Detekt check') {
steps {
authenticateGradleWrapper()
sh "./gradlew --no-daemon clean detekt"
}
}
stage('Compilation warnings check') {
steps {
sh "./gradlew --no-daemon -Pcompilation.warningsAsErrors=true compileAll"
}
}
stage('Snyk Delta') {
agent {
docker {
@ -51,6 +38,19 @@ pipeline {
snykDeltaScan(env.SNYK_API_TOKEN, env.C4_OS_SNYK_ORG_ID)
}
}
stage('Detekt check') {
steps {
authenticateGradleWrapper()
sh "./gradlew --no-daemon clean detekt"
}
}
stage('Compilation warnings check') {
steps {
sh "./gradlew --no-daemon -Pcompilation.warningsAsErrors=true compileAll"
}
}
stage('No API change check') {
steps {