Improving tests
This commit is contained in:
parent
0a56d28ff0
commit
36f530d826
|
|
@ -32,13 +32,11 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
params.LIBRARIES.split().each { LIBRARY ->
|
params.LIBRARIES.split().each { LIBRARY ->
|
||||||
stage("${LIBRARY}") {
|
stage("${LIBRARY}") {
|
||||||
stages {
|
params.R6RS_SCHEMES.split().each { SCHEME ->
|
||||||
params.R6RS_SCHEMES.split().each { SCHEME ->
|
def IMG="${SCHEME}:head"
|
||||||
def IMG="${SCHEME}:head"
|
stage("${SCHEME} - ${LIBRARY}") {
|
||||||
stage("${SCHEME} - ${LIBRARY}") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
|
||||||
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -52,16 +50,14 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
params.LIBRARIES.split().each { LIBRARY ->
|
params.LIBRARIES.split().each { LIBRARY ->
|
||||||
stage("${LIBRARY}") {
|
stage("${LIBRARY}") {
|
||||||
stages {
|
params.R7RS_SCHEMES.split().each { SCHEME ->
|
||||||
params.R7RS_SCHEMES.split().each { SCHEME ->
|
def IMG="${SCHEME}:head"
|
||||||
def IMG="${SCHEME}:head"
|
if("${SCHEME}" == "chicken") {
|
||||||
if("${SCHEME}" == "chicken") {
|
IMG="${SCHEME}:5"
|
||||||
IMG="${SCHEME}:5"
|
}
|
||||||
}
|
stage("${SCHEME} - ${LIBRARY}") {
|
||||||
stage("${SCHEME} - ${LIBRARY}") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
|
||||||
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue