forgot to wrap the steps in a steps block
parent
282a07c5fb
commit
f86da2ed6f
|
|
@ -21,8 +21,10 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Code Linting') {
|
stage('Code Linting') {
|
||||||
|
steps {
|
||||||
sh 'bundle exec rubocop --format html --out rubocop.html'
|
sh 'bundle exec rubocop --format html --out rubocop.html'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Run tests') {
|
stage('Run tests') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue