Testing dynamic Jenkinsfile
This commit is contained in:
Vendored
+2
-11
@@ -17,18 +17,9 @@ pipeline {
|
|||||||
additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}"
|
additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
environment {
|
|
||||||
IMPLEMENTATION="${STAGE_NAME}"
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
script {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
tests.each { test ->
|
sh "make test-compile-r7rs COMPILE_R7RS=${STAGE_NAME} TESTNAME=primitives"
|
||||||
stage("${env.IMPLEMENTATION} ${test}") {
|
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
|
||||||
sh "make test-compile-r7rs COMPILE_R7RS=${env.IMPLEMENTATION} TESTNAME=${test}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user