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