From 943e6c6622819081d11396f4bb17411f8689882e Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 26 Sep 2025 14:45:11 +0300 Subject: [PATCH] Updating tests --- Jenkinsfile | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9f1f7e5..1495d80 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { options { disableConcurrentBuilds() - buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) } stages { @@ -16,16 +16,24 @@ pipeline { agent { docker { label 'docker-x86_64' - image 'retropikzel1/compile-r7rs' - args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock' + image 'retropikzel1/compile-r7rs' + args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock' } } - environment { - COMPILE_R7RS='chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon' - } steps { - sh "test-r7rs test.scm" + script { + def schemes = "chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon" + + schemes.split().each { SCHEME -> + stage("${SCHEME}") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "COMPILE_R7RS=${SCHEME} test-r7rs test.scm" + } + } + } + } } } + } }