jenkins: run all stages even if there are errors

This commit is contained in:
Frédéric Péters 2021-08-15 10:55:08 +02:00
parent 2e9b8b4fa3
commit 0ad13c9e41
1 changed files with 9 additions and 3 deletions

12
Jenkinsfile vendored
View File

@ -6,17 +6,23 @@ pipeline {
stages {
stage('Unit Tests (buster)') {
steps {
sh 'sudo ./test-nspawn buster'
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn buster'
}
}
}
stage('Unit Tests (bullseye)') {
steps {
sh 'sudo ./test-nspawn bullseye'
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bullseye'
}
}
}
stage('Unit Tests (bookworm)') {
steps {
sh 'sudo ./test-nspawn bookworm'
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
}
}
}
}