Testing dynamic Jenkinsfile
This commit is contained in:
parent
37fd470973
commit
a9bfa928df
|
|
@ -30,8 +30,15 @@ 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-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
|
sh "make test-compile-r7rs COMPILE_R7RS=${implementation} TESTNAME=primitives"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue