Skip to content

Commit

Permalink
Add catchError
Browse files Browse the repository at this point in the history
  • Loading branch information
justanwar committed Nov 11, 2023
1 parent a430f77 commit 9daed06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ pipeline {
}
stage('Test') {
steps {
dir('dist') {
sh 'make check'
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE'){
dir('dist') {
sh 'make check'
}
}
}
}
Expand Down

0 comments on commit 9daed06

Please sign in to comment.