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