Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 23:00:57 +03:00
parent 6a8bff28a4
commit c73213535b
1 changed files with 10 additions and 10 deletions

12
Jenkinsfile vendored
View File

@ -10,18 +10,18 @@ pipeline {
} }
stages { stages {
stage('Testing') { stage('chibi') {
steps {
script {
implementations.each { implementation ->
agent { agent {
dockerfile { dockerfile {
filename 'Dockerfile.test' filename 'Dockerfile.test'
args '--user=root' args '--user=root'
additionalBuildArgs "--build-arg COMPILE_R7RS=${implementation}" additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}"
} }
} }
stage("${implementation} primitives") { steps {
script {
tests.each { test ->
stage("${STAGE_NAME} ${test}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
echo "hello" echo "hello"
} }