Fix Jenkins tests

This commit is contained in:
retropikzel 2026-07-04 13:01:25 +03:00
parent 3e2f06780b
commit 7e6304401c
1 changed files with 24 additions and 20 deletions

44
Jenkinsfile vendored
View File

@ -20,32 +20,36 @@ pipeline {
} }
stages { stages {
stage('R6RS tests') { stage('Parallel') {
steps { parallel {
script { stage('R6RS tests') {
env.LIBRARIES.split().each { LIBRARY -> steps {
stage("${LIBRARY}") { script {
env.R6RS_SCHEMES.split().each { SCHEME -> env.LIBRARIES.split().each { LIBRARY ->
stage("${SCHEME}") { stage("${LIBRARY}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { env.R6RS_SCHEMES.split().each { SCHEME ->
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker" stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker"
}
}
} }
} }
} }
} }
} }
} }
} stage('R7RS tests') {
} steps {
stage('R7RS tests') { script {
steps { env.LIBRARIES.split().each { LIBRARY ->
script { stage("${LIBRARY}") {
env.LIBRARIES.split().each { LIBRARY -> env.R7RS_SCHEMES.split().each { SCHEME ->
stage("${LIBRARY}") { stage("${SCHEME}") {
env.R7RS_SCHEMES.split().each { SCHEME -> catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
stage("${SCHEME}") { sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker"
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { }
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker" }
} }
} }
} }