Improving testing
This commit is contained in:
parent
3a1c0e8ab0
commit
03c3bc9e62
|
|
@ -15,6 +15,7 @@ pipeline {
|
||||||
parameters {
|
parameters {
|
||||||
string(name: 'R7RS_SCHEMES', defaultValue: 'chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon', description: '')
|
string(name: 'R7RS_SCHEMES', defaultValue: 'chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon', description: '')
|
||||||
string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme guile ikarus ironscheme mosh racket sagittarius ypsilon', description: '')
|
string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme guile ikarus ironscheme mosh racket sagittarius ypsilon', description: '')
|
||||||
|
string(name: 'LIBRARIES', defaultValue: 'system', description: '')
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
@ -29,11 +30,13 @@ pipeline {
|
||||||
stage('R6RS x86_64 Debian') {
|
stage('R6RS x86_64 Debian') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
params.R6RS_SCHEMES.split().each { SCHEME ->
|
params.LIBRARIES.split().each { LIBRARY ->
|
||||||
def IMG="${SCHEME}:head"
|
params.R6RS_SCHEMES.split().each { SCHEME ->
|
||||||
stage("${SCHEME}") {
|
def IMG="${SCHEME}:head"
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
stage("${SCHEME} - ${LIBRARY}") {k
|
||||||
sh "timeout 6000 make SCHEME=${SCHEME} test-r6rs-docker"
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
|
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -43,14 +46,16 @@ pipeline {
|
||||||
stage('R7RS x86_64 Debian') {
|
stage('R7RS x86_64 Debian') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
params.R7RS_SCHEMES.split().each { SCHEME ->
|
params.LIBRARIES.split().each { LIBRARY ->
|
||||||
def IMG="${SCHEME}:head"
|
params.R7RS_SCHEMES.split().each { SCHEME ->
|
||||||
if("${SCHEME}" == "chicken") {
|
def IMG="${SCHEME}:head"
|
||||||
IMG="${SCHEME}:5"
|
if("${SCHEME}" == "chicken") {
|
||||||
}
|
IMG="${SCHEME}:5"
|
||||||
stage("${SCHEME}") {
|
}
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
stage("${SCHEME} - ${LIBRARY}") {
|
||||||
sh "timeout 6000 make SCHEME=${SCHEME} test-r7rs-docker"
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
|
sh "timeout 6000 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue