From 53d3d50b7c55ebb3b421677328a4b9beead2a50a Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 13 Sep 2025 12:30:14 +0300 Subject: [PATCH] Fixing tests --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index daeb33a..290282b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,17 +15,15 @@ pipeline { steps { script { def implementations = sh(script: 'docker run retropikzel1/compile-r7rs sh -c "compile-r7rs --list-r7rs-schemes"', returnStdout: true).split() - //def implementations = "chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon".split() parallel implementations.collectEntries { implementation -> [(implementation): { tests.each { test -> stage("${implementation} ${test}") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + def DOCKERIMG="${implementation}:head" if("${implementation}" == "chicken") { DOCKERIMG="chicken:5" - } else { - DOCKERIMG="${implementation}:head" } sh "docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${implementation} --tag=foreign-c-test-${implementation} -f Dockerfile.test ." sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t foreign-c-test-${implementation} sh -c \"timeout 120 make SCHEME=${implementation} TEST=${test} clean test\""