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