Testing dynamic Jenkinsfile
This commit is contained in:
parent
0375825e4b
commit
f5c7df111f
|
|
@ -1,15 +1,4 @@
|
||||||
def implementations = [
|
def tests = ['primitives']
|
||||||
'chibi',
|
|
||||||
'chicken',
|
|
||||||
'gauche',
|
|
||||||
'guile',
|
|
||||||
'kawa',
|
|
||||||
'mosh',
|
|
||||||
'racket',
|
|
||||||
'sagittarius',
|
|
||||||
'stklos',
|
|
||||||
'ypsilon'
|
|
||||||
]
|
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
|
|
@ -25,13 +14,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Testing') {
|
stage('Chibi') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
implementations.each { implementation ->
|
tests.each { test ->
|
||||||
stage("Test ${implementation} primitives") {
|
stage("Test ${ṢTAGE_NAME} primitives") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "make test-compile-r7rs-docker COMPILE_R7RS=${implementation} TESTNAME=primitives"
|
sh "make test-compile-r7rs COMPILE_R7RS=${STAGE_NAME} TESTNAME=${test}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue