From f5c7df111f19c0db7d858e4d8883183918fc5a8d Mon Sep 17 00:00:00 2001 From: retropikzel Date: Thu, 5 Jun 2025 21:59:04 +0300 Subject: [PATCH] Testing dynamic Jenkinsfile --- Jenkinsfile | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b35db74..034ada2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,15 +1,4 @@ -def implementations = [ - 'chibi', - 'chicken', - 'gauche', - 'guile', - 'kawa', - 'mosh', - 'racket', - 'sagittarius', - 'stklos', - 'ypsilon' - ] +def tests = ['primitives'] pipeline { agent { @@ -25,13 +14,13 @@ pipeline { } stages { - stage('Testing') { + stage('Chibi') { steps { script { - implementations.each { implementation -> - stage("Test ${implementation} primitives") { + tests.each { test -> + stage("Test ${ᚢTAGE_NAME} primitives") { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives" + sh "make test-compile-r7rs COMPILE_R7RS=${STAGE_NAME} TESTNAME=${test}" } } }