Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 22:53:22 +03:00
parent b7fc2e31d7
commit 2f1e8f55aa
1 changed files with 4 additions and 2 deletions

2
Jenkinsfile vendored
View File

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