Skip to content

Commit

Permalink
Store test logs after Jenkins run (#1349)
Browse files Browse the repository at this point in the history
* Store test logs after Jenkins run

* Small typo

* Add catchError

* Archive unit tests' logs before running RPC tests
  • Loading branch information
justanwar authored Nov 14, 2023
1 parent 74769e8 commit 1bf370c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,19 @@ pipeline {
}
stage('Test') {
steps {
dir('dist') {
sh 'make check'
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE'){
dir('dist') {
sh 'make check'
}
}
}
}
stage('Archive unit tests logs') {
steps {
archiveArtifacts artifacts: 'dist/src/test-suite.log',
allowEmptyArchive: true
}
}
stage('RPC Tests') {
steps {
dir('dist') {
Expand Down

0 comments on commit 1bf370c

Please sign in to comment.