mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
Make sonarqube step resilient to errors (#6128)
Co-authored-by: Dimitris Gounaris <dimitrisgounaris@20LDN-MAC257.local>
This commit is contained in:
parent
ccde0ac909
commit
3dc60aa83f
6
.ci/dev/regression/Jenkinsfile
vendored
6
.ci/dev/regression/Jenkinsfile
vendored
@ -64,6 +64,8 @@ pipeline {
|
||||
|
||||
stage('Generate sonarqube report') {
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
// running this step here is the only way to not majorly affect the distributed test plugin,
|
||||
// as now that neither returns build files nor runs jacoco reports
|
||||
sh "./gradlew --no-daemon build jacocoRootReport --stacktrace"
|
||||
@ -83,6 +85,10 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
println('Error while trying to execute sonarqube analysis, will be skipped.')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user