docs failure should not fail the whole build
This commit is contained in:
parent
a6bced7983
commit
be37c15478
2
automation/Jenkinsfile
vendored
2
automation/Jenkinsfile
vendored
@ -20,9 +20,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Docs') {
|
stage('Docs') {
|
||||||
steps {
|
steps {
|
||||||
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh 'cargo +nightly doc --all-features'
|
sh 'cargo +nightly doc --all-features'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Rustfmt') {
|
stage('Rustfmt') {
|
||||||
steps {
|
steps {
|
||||||
sh 'cargo fmt --all --check'
|
sh 'cargo fmt --all --check'
|
||||||
|
Loading…
Reference in New Issue
Block a user