Testing dynamic Jenkinsfile
This commit is contained in:
parent
9b57e6b008
commit
0307bf8f1f
|
|
@ -17,18 +17,9 @@ pipeline {
|
|||
additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}"
|
||||
}
|
||||
}
|
||||
environment {
|
||||
IMPLEMENTATION="${STAGE_NAME}"
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
tests.each { test ->
|
||||
stage("${env.IMPLEMENTATION} ${test}") {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "make test-compile-r7rs COMPILE_R7RS=${env.IMPLEMENTATION} TESTNAME=${test}"
|
||||
}
|
||||
}
|
||||
}
|
||||
sh "make test-compile-r7rs COMPILE_R7RS=${STAGE_NAME} TESTNAME=primitives"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue