Improving tests

This commit is contained in:
retropikzel 2025-12-06 12:20:06 +02:00
parent 6e5d60f5eb
commit 30529da19e
1 changed files with 12 additions and 12 deletions

24
Jenkinsfile vendored
View File

@ -48,19 +48,19 @@ pipeline {
steps { steps {
script { script {
params.LIBRARIES.split().each { LIBRARY -> params.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") { stage(name: "${LIBRARY}", concurrency: 1) {
params.R7RS_SCHEMES.collectEntries().each { SCHEME -> parallel params.R7RS_SCHEMES.collectEntries().each { SCHEME ->
[(SCHEME): { [(SCHEME): {
def IMG="${SCHEME}:head" def IMG="${SCHEME}:head"
if("${SCHEME}" == "chicken") { if("${SCHEME}" == "chicken") {
IMG="${SCHEME}:5" IMG="${SCHEME}:5"
}
stage("${SCHEME} - ${LIBRARY}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
} }
} stage("${SCHEME} - ${LIBRARY}") {
}] catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
}
}
}]
} }
} }
} }