Testing dynamic Jenkinsfile
This commit is contained in:
parent
00544add99
commit
e890135a29
|
|
@ -12,11 +12,8 @@ pipeline {
|
||||||
stage('chibi') {
|
stage('chibi') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
tests.each { test ->
|
for (int i = 0; i < tests.size(); ++i) {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
echo "Testing the ${test[i]} browser"
|
||||||
sh "docker build --build-arg COMPILE_R7RS=${STAGE_NAME} --tag=r7rs-pffi-test-${STAGE_NAME} -f Dockerfile.test ."
|
|
||||||
sh "docker run -v ${WORKSPACE}:/workdir -w /workdir -t r7rs-pffi-test-${STAGE_NAME} sh -c \"make COMPILE_R7RS=${STAGE_NAME} TESTNAME=primitives test-compile-r7rs\""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue