mirror of
https://github.com/corda/corda.git
synced 2025-01-20 03:36:29 +00:00
Merge pull request #7297 from corda/connelm/INFRA-2021/reverting-snyk-delta-move
INFRA-2021: Revert - Temp fix for Snyk Delta
This commit is contained in:
commit
c777e77962
27
.ci/dev/pr-code-checks/Jenkinsfile
vendored
27
.ci/dev/pr-code-checks/Jenkinsfile
vendored
@ -20,6 +20,19 @@ 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 {
|
||||
@ -35,20 +48,8 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'mkdir -p ${GRADLE_USER_HOME}'
|
||||
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"
|
||||
snykDeltaScan(env.SNYK_API_TOKEN, env.C4_OS_SNYK_ORG_ID)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user