From d51d67bd8d650ea311f6f148ce745cb2d8b70950 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Fri, 18 Apr 2025 08:38:32 +0300 Subject: [PATCH] Making the build work --- Jenkinsfile | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 642fa7a..348a1b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { } stages { stage("Build") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=sagittarius' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=sagittarius' } } steps { sh 'make' sh 'make install' @@ -14,7 +14,7 @@ pipeline { } } stage("Test chez r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=chezsceme' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=chezsceme' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -23,7 +23,7 @@ pipeline { } } stage("Test chibi r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=chibi' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=chibi' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -32,7 +32,7 @@ pipeline { } } stage("Test cyclone r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=cyclone' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=cyclone' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -41,7 +41,7 @@ pipeline { } } stage("Test foment r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=foment' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=foment' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -50,7 +50,7 @@ pipeline { } } stage("Test gauche r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=gauche' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=gauche' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -59,7 +59,7 @@ pipeline { } } stage("Test guile r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=guile' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=guile' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -68,7 +68,7 @@ pipeline { } } stage("Test guile r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=guile' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=guile' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -77,7 +77,7 @@ pipeline { } } stage("Test ikarus r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=ikarus' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=ikarus' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -86,7 +86,7 @@ pipeline { } } stage("Test ironscheme r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=ironscheme' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=ironscheme' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -95,7 +95,7 @@ pipeline { } } stage("Test kawa r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=kawa' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=kawa' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -104,7 +104,7 @@ pipeline { } } stage("Test larceny r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=larceny' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=larceny' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -113,7 +113,7 @@ pipeline { } } stage("Test larceny r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=larceny' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=larceny' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -122,7 +122,7 @@ pipeline { } } stage("Test loko r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=loko' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=loko' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -131,7 +131,7 @@ pipeline { } } stage("Test loko r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=loko' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=loko' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -140,7 +140,7 @@ pipeline { } } stage("Test mit-scheme r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=mit-scheme' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=mit-scheme' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -149,7 +149,7 @@ pipeline { } } stage("Test mosh r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=mosh' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=mosh' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -158,7 +158,7 @@ pipeline { } } stage("Test mosh r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=mosh' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=mosh' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -167,7 +167,7 @@ pipeline { } } stage("Test sagittarius r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=sagittarius' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=sagittarius' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'apt-get update && apt-get install -y make libuv1' @@ -177,7 +177,7 @@ pipeline { } } stage("Test sagittarius r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=sagittarius' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=sagittarius' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -186,7 +186,7 @@ pipeline { } } stage("Test skint r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=skint' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=skint' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -195,7 +195,7 @@ pipeline { } } stage("Test tr7 r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=tr7' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=tr7' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -204,7 +204,7 @@ pipeline { } } stage("Test ypsilon r6rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=ypsilon' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=ypsilon' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install' @@ -213,7 +213,7 @@ pipeline { } } stage("Test ypsilon r7rs") { - agent { dockerfile { filename 'Dockerfile'; args '--user=root --build-arg COMPILE_R7RS=ypsilon' } } + agent { dockerfile { filename 'Dockerfile'; args '--user=root'; additionalBuildArgs '--build-arg COMPILE_R7RS=ypsilon' } } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { sh 'make && make install'