Testing dynamic Jenkinsfile
This commit is contained in:
parent
a020b0ed8f
commit
add13aacd1
|
|
@ -10,13 +10,6 @@ pipeline {
|
|||
|
||||
stages {
|
||||
stage('chibi') {
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile.test'
|
||||
args '--user=root'
|
||||
additionalBuildArgs "--build-arg COMPILE_R7RS=${STAGE_NAME}"
|
||||
}
|
||||
}
|
||||
environment {
|
||||
IMPLEMENTATION="${STAGE_NAME}"
|
||||
}
|
||||
|
|
@ -25,7 +18,7 @@ pipeline {
|
|||
tests.each { test ->
|
||||
stage("${STAGE_NAME} ${test}") {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "make test-compile-r7rs COMPILE_R7RS=${env.IMPLEMENTATION} TESTNAME=${test}"
|
||||
sh "make test-compile-r7rs-docker COMPILE_R7RS=${env.IMPLEMENTATION} TESTNAME=${test}"
|
||||
sh "cat tmp/test/primitives"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue