Improving tests

This commit is contained in:
retropikzel 2025-12-06 12:34:27 +02:00
parent 941c54486c
commit 9d43a0b79f
1 changed files with 7 additions and 9 deletions

16
Jenkinsfile vendored
View File

@ -51,15 +51,13 @@ pipeline {
stage("${LIBRARY}") { stage("${LIBRARY}") {
parallel params.R7RS_SCHEMES.collectEntries().each { SCHEME -> parallel params.R7RS_SCHEMES.collectEntries().each { SCHEME ->
[(SCHEME): { [(SCHEME): {
lock { def IMG="${SCHEME}:head"
def IMG="${SCHEME}:head" if("${SCHEME}" == "chicken") {
if("${SCHEME}" == "chicken") { IMG="${SCHEME}:5"
IMG="${SCHEME}:5" }
} stage("${SCHEME} - ${LIBRARY}") {
stage("${SCHEME} - ${LIBRARY}") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
}
} }
} }
}] }]