Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 21:42:08 +03:00
parent 37fd470973
commit a9bfa928df
1 changed files with 8 additions and 1 deletions

9
Jenkinsfile vendored
View File

@ -30,8 +30,15 @@ pipeline {
script {
implementations.each { implementation ->
stage("Test ${implementation} primitives") {
agent {
dockerfile {
filename 'Dockerfile.test'
additionalBuildArgs "--build-arg COMPILE_R7RS=${implementation}"
args '--user=root'
}
}
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
sh "make test-compile-r7rs COMPILE_R7RS=${implementation} TESTNAME=primitives"
}
}
}