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

pull/29/head
Adam Townsend 2023-10-22 13:32:39 -07:00
parent 3fa1de5e4e
commit 7caf25c4d0
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -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') {