Improve Jenkins tests

This commit is contained in:
retropikzel 2026-07-03 08:47:49 +03:00
parent 8c282b6679
commit c8c9b6fd36
1 changed files with 22 additions and 22 deletions

6
Jenkinsfile vendored
View File

@ -33,12 +33,13 @@ pipeline {
} }
stages { stages {
stage('Parallel') {
parallel {
stage('Test R6RS Debian') { stage('Test R6RS Debian') {
steps { steps {
script { script {
env.LIBRARIES.split().each { LIBRARY -> env.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") { stage("${LIBRARY}") {
parallel {
env.R6RS_SCHEMES.split().each { SCHEME -> env.R6RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME}") { stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
@ -51,13 +52,11 @@ pipeline {
} }
} }
} }
}
stage('Test R7RS Debian') { stage('Test R7RS Debian') {
steps { steps {
script { script {
env.LIBRARIES.split().each { LIBRARY -> env.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") { stage("${LIBRARY}") {
parallel {
env.R7RS_SCHEMES.split().each { SCHEME -> env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${SCHEME}") { stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
@ -72,6 +71,7 @@ pipeline {
} }
} }
} }
}
post { post {
always { always {
cleanWs() cleanWs()