mirror of
https://github.com/corda/corda.git
synced 2025-04-13 22:23:31 +00:00
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:
commit
9443bd7a6b
26
.ci/dev/pr-code-checks/Jenkinsfile
vendored
26
.ci/dev/pr-code-checks/Jenkinsfile
vendored
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user