From 74f5577dfe9ec639301b352d7d3631f9a52fd75e Mon Sep 17 00:00:00 2001 From: retropikzel Date: Wed, 22 Jul 2026 18:01:00 +0300 Subject: [PATCH] New builds --- Jenkinsfile | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ef1a499..a85e8a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,23 +21,33 @@ pipeline { buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) } + environment { + BUILDS="chibi" + } + stages { - stage('chibi') { - agent { - docker { - image "schemers/chibi:head" - reuseNode true - args '--user=root' - } - } - steps { - sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev" - sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1" - sh "make -j8 -C chibi-scheme" - sh "make -j8 -C chibi-scheme install" - sh "snow-chibi install retropikzel.compile-r7rs" - catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh "make SCHEME=chibi LIBRARY=tap all install test" + steps { + script { + env.BUILDS.split().each { build -> + stage('${build}') { + agent { + docker { + image "schemers/chibi:head" + reuseNode true + args '--user=root' + } + } + steps { + sh "apt-get update && apt-get install -y git ca-certificates gcc make libffi-dev" + sh "git clone https://github.com/ashinn/chibi-scheme.git --depth=1" + sh "make -j8 -C chibi-scheme" + sh "make -j8 -C chibi-scheme install" + sh "snow-chibi install retropikzel.compile-r7rs" + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + sh "make SCHEME=chibi LIBRARY=tap all install test" + } + } + } } } }