From a9ef93003b78cca32007671796e29df785b52ff0 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Thu, 5 Jun 2025 22:04:57 +0300 Subject: [PATCH] Testing dynamic Jenkinsfile --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f5c13af..aa5814f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,8 @@ pipeline { implementations.each { implementation -> stage("Test ${implementation} primitives") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives" + sh "docker build --build-arg COMPILE_R7RS=${implementation} --tag=r7rs-pffi-test-${implementation} -f Dockerfile.test . + sh "docker run -v "${PWD}":/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make COMPILE_R7RS=${implementation} TESTNAME=primitives test-compile-r7rs\"" } } }