Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 23:08:09 +03:00
parent 9b57e6b008
commit 0307bf8f1f
1 changed files with 2 additions and 11 deletions

11
Jenkinsfile vendored
View File

@ -17,18 +17,9 @@ pipeline {
additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}"
}
}
environment {
IMPLEMENTATION="${STAGE_NAME}"
}
steps {
script {
tests.each { test ->
stage("${env.IMPLEMENTATION} ${test}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make test-compile-r7rs COMPILE_R7RS=${env.IMPLEMENTATION} TESTNAME=${test}"
}
}
}
sh "make test-compile-r7rs COMPILE_R7RS=${STAGE_NAME} TESTNAME=primitives"
}
}
}