From 6a8bff28a41e214774da118b0df5d80e66738fc4 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Thu, 5 Jun 2025 22:59:49 +0300 Subject: [PATCH] Testing dynamic Jenkinsfile --- Jenkinsfile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0f4c154..b2d8d6b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,18 +14,16 @@ pipeline { steps { script { implementations.each { implementation -> - stage("${implementation} primitives") { - agent { - dockerfile { - filename 'Dockerfile.test' + agent { + dockerfile { + filename 'Dockerfile.test' args '--user=root' additionalBuildArgs "--build-arg COMPILE_R7RS=${implementation}" - } } - steps { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - echo "hello" - } + } + stage("${implementation} primitives") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + echo "hello" } } }