Testing dynamic Jenkinsfile
This commit is contained in:
parent
2551a61e76
commit
a9ef93003b
|
|
@ -26,7 +26,8 @@ pipeline {
|
||||||
implementations.each { implementation ->
|
implementations.each { implementation ->
|
||||||
stage("Test ${implementation} primitives") {
|
stage("Test ${implementation} primitives") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
|
sh "docker build --build-arg COMPILE_R7RS=${implementation} --tag=r7rs-pffi-test-${implementation} -f Dockerfile.test .
|
||||||
|
sh "docker run -v "${PWD}":/workdir -w /workdir -t r7rs-pffi-test-${implementation} sh -c \"make COMPILE_R7RS=${implementation} TESTNAME=primitives test-compile-r7rs\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue