Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 23:19:33 +03:00
parent 4d838e4b4a
commit aa9dec8c94
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ pipeline {
script { script {
implementations.each { implementation-> implementations.each { implementation->
tests.each { test -> tests.each { test ->
stage("${STAGE_NAME} ${test}") { stage("${implementation} ${test}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "docker build --build-arg COMPILE_R7RS=${implementation} --tag=r7rs-pffi-test-${implementation} -f Dockerfile.test ." sh "docker build --build-arg COMPILE_R7RS=${implementation} --tag=r7rs-pffi-test-${implementation} -f Dockerfile.test ."
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make COMPILE_R7RS=${implementation} TESTNAME=primitives test-compile-r7rs\"" sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make COMPILE_R7RS=${implementation} TESTNAME=primitives test-compile-r7rs\""