From 8c282b6679fbc220c9f8ef5462f372d571937a84 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 3 Jul 2026 08:42:42 +0300 Subject: [PATCH] Improve Jenkins tests --- Jenkinsfile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b12a5ed..e8a1c34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,10 +38,12 @@ pipeline { script { env.LIBRARIES.split().each { LIBRARY -> stage("${LIBRARY}") { - env.R6RS_SCHEMES.split().each { SCHEME -> - stage("${SCHEME}") { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker" + parallel { + env.R6RS_SCHEMES.split().each { SCHEME -> + stage("${SCHEME}") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker" + } } } } @@ -55,10 +57,12 @@ pipeline { script { env.LIBRARIES.split().each { LIBRARY -> stage("${LIBRARY}") { - env.R7RS_SCHEMES.split().each { SCHEME -> - stage("${SCHEME}") { - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker" + parallel { + env.R7RS_SCHEMES.split().each { SCHEME -> + stage("${SCHEME}") { + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker" + } } } }