run tests on each distribution in parallel (#56219)

This commit is contained in:
Emmanuel Cazenave 2021-08-17 18:03:10 +02:00
parent bda26d6a25
commit 54bcdb0066
1 changed files with 23 additions and 16 deletions

39
Jenkinsfile vendored
View File

@ -4,24 +4,31 @@ pipeline {
agent any
options { disableConcurrentBuilds() }
stages {
stage('Unit Tests (buster)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn buster'
stage('Unit Tests') {
parallel {
stage('Unit Tests (buster)') {
agent any
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn buster'
}
}
}
}
}
stage('Unit Tests (bullseye)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bullseye'
stage('Unit Tests (bullseye)') {
agent any
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bullseye'
}
}
}
}
}
stage('Unit Tests (bookworm)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
stage('Unit Tests (bookworm)') {
agent any
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
}
}
}
}
}