Improve Jenkins tests
This commit is contained in:
parent
cfbead065e
commit
c7283c1e08
|
|
@ -38,12 +38,10 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
env.LIBRARIES.split().each { LIBRARY ->
|
env.LIBRARIES.split().each { LIBRARY ->
|
||||||
stage("${LIBRARY}") {
|
stage("${LIBRARY}") {
|
||||||
parallel {
|
env.R6RS_SCHEMES.split().each { SCHEME ->
|
||||||
env.R6RS_SCHEMES.split().each { SCHEME ->
|
stage("${SCHEME}") {
|
||||||
stage("${SCHEME}") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker"
|
||||||
sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -57,12 +55,10 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
env.LIBRARIES.split().each { LIBRARY ->
|
env.LIBRARIES.split().each { LIBRARY ->
|
||||||
stage("${LIBRARY}") {
|
stage("${LIBRARY}") {
|
||||||
parallel {
|
env.R7RS_SCHEMES.split().each { SCHEME ->
|
||||||
env.R7RS_SCHEMES.split().each { SCHEME ->
|
stage("${SCHEME}") {
|
||||||
stage("${SCHEME}") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker"
|
||||||
sh "make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue