Testing dynamic Jenkinsfile
This commit is contained in:
parent
a9bfa928df
commit
8a90bf0901
|
|
@ -30,15 +30,8 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
implementations.each { implementation ->
|
implementations.each { implementation ->
|
||||||
stage("Test ${implementation} primitives") {
|
stage("Test ${implementation} primitives") {
|
||||||
agent {
|
|
||||||
dockerfile {
|
|
||||||
filename 'Dockerfile.test'
|
|
||||||
additionalBuildArgs "--build-arg COMPILE_R7RS=${implementation}"
|
|
||||||
args '--user=root'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "make test-compile-r7rs COMPILE_R7RS=${implementation} TESTNAME=primitives"
|
sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue