diff --git a/Jenkinsfile b/Jenkinsfile index 249f02679c..1e11bc84d1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {