Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 22:32:40 +03:00
parent 00544add99
commit e890135a29
1 changed files with 2 additions and 5 deletions

7
Jenkinsfile vendored
View File

@ -12,11 +12,8 @@ pipeline {
stage('chibi') { stage('chibi') {
steps { steps {
script { script {
tests.each { test -> for (int i = 0; i < tests.size(); ++i) {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { echo "Testing the ${test[i]} browser"
sh "docker build --build-arg COMPILE_R7RS=${STAGE_NAME} --tag=r7rs-pffi-test-${STAGE_NAME} -f Dockerfile.test ."
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t r7rs-pffi-test-${STAGE_NAME} sh -c \"make COMPILE_R7RS=${STAGE_NAME} TESTNAME=primitives test-compile-r7rs\""
}
} }
} }
} }