Testing dynamic Jenkinsfile
This commit is contained in:
parent
866bf512a2
commit
6a8bff28a4
|
|
@ -14,18 +14,16 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
implementations.each { implementation ->
|
implementations.each { implementation ->
|
||||||
stage("${implementation} primitives") {
|
agent {
|
||||||
agent {
|
dockerfile {
|
||||||
dockerfile {
|
filename 'Dockerfile.test'
|
||||||
filename 'Dockerfile.test'
|
|
||||||
args '--user=root'
|
args '--user=root'
|
||||||
additionalBuildArgs "--build-arg COMPILE_R7RS=${implementation}"
|
additionalBuildArgs "--build-arg COMPILE_R7RS=${implementation}"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
steps {
|
}
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
stage("${implementation} primitives") {
|
||||||
echo "hello"
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
}
|
echo "hello"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue