don't kill it if linting breaks, mark it as unstable
parent
3fa1de5e4e
commit
7caf25c4d0
|
|
@ -23,7 +23,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Code Linting') {
|
stage('Code Linting') {
|
||||||
steps {
|
steps {
|
||||||
sh 'bundle exec rubocop --format html --out rubocop.html'
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||||
|
sh 'bundle exec rubocop --format html --out rubocop.html'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Run tests') {
|
stage('Run tests') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue