don't kill it if linting breaks, mark it as unstable

This commit is contained in:
2023-10-22 13:32:39 -07:00
parent 3fa1de5e4e
commit 7caf25c4d0
Vendored
+3 -1
View File
@@ -23,7 +23,9 @@ pipeline {
}
stage('Code Linting') {
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') {