Improving tests

This commit is contained in:
retropikzel 2025-12-06 12:32:52 +02:00
parent 30529da19e
commit 941c54486c
1 changed files with 10 additions and 8 deletions

18
Jenkinsfile vendored
View File

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