Adding release builds
This commit is contained in:
parent
f708942ae5
commit
136b5efb60
|
|
@ -3,19 +3,19 @@ pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile {
|
||||||
label 'docker-x86_64'
|
label 'docker-x86_64'
|
||||||
filename 'Dockerfile.jenkins'
|
filename 'Dockerfile.jenkins'
|
||||||
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
args '--user=root --privileged -v /var/run/docker.sock:/var/run/docker.sock'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
||||||
}
|
}
|
||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
string(name: 'R6RS_SCHEMES', defaultValue: 'capyscheme chezscheme guile ikarus ironscheme larceny loko mosh racket sagittarius ypsilon', description: '')
|
string(name: 'R6RS_SCHEMES', defaultValue: 'capyscheme chezscheme guile ikarus ironscheme larceny loko mosh racket sagittarius ypsilon', description: '')
|
||||||
string(name: 'R7RS_SCHEMES', defaultValue: 'capyscheme chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon', description: '')
|
string(name: 'R7RS_SCHEMES', defaultValue: 'capyscheme chibi chicken cyclone gambit foment gauche guile kawa larceny loko meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon', description: '')
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
@ -23,34 +23,33 @@ pipeline {
|
||||||
when { not { branch 'release' } }
|
when { not { branch 'release' } }
|
||||||
steps {
|
steps {
|
||||||
sh "make build-chibi"
|
sh "make build-chibi"
|
||||||
sh "make install"
|
sh "make install"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Test') {
|
stage('R6RS') {
|
||||||
when { not { branch 'release' } }
|
when { not { branch 'release' } }
|
||||||
stage('R6RS') {
|
steps {
|
||||||
steps {
|
script {
|
||||||
script {
|
R7RS_SCHEMES.split().each { SCHEME ->
|
||||||
R7RS_SCHEMES.split().each { SCHEME ->
|
stage("${SCHEME} R6RS") {
|
||||||
stage("${SCHEME} R6RS") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "make SCHEME=${SCHEME} test-r6rs-docker"
|
||||||
sh "make SCHEME=${SCHEME} test-r6rs-docker"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('R7RS') {
|
stage('R7RS') {
|
||||||
steps {
|
when { not { branch 'release' } }
|
||||||
script {
|
steps {
|
||||||
R7RS_SCHEMES.split().each { SCHEME ->
|
script {
|
||||||
stage("${SCHEME} R7RS") {
|
R7RS_SCHEMES.split().each { SCHEME ->
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
stage("${SCHEME} R7RS") {
|
||||||
sh "make SCHEME=${SCHEME} test-r7rs-docker"
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
}
|
sh "make SCHEME=${SCHEME} test-r7rs-docker"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -61,7 +60,7 @@ pipeline {
|
||||||
stage('.deb package') {
|
stage('.deb package') {
|
||||||
steps {
|
steps {
|
||||||
sh "make deb"
|
sh "make deb"
|
||||||
archiveArtifacts artifacts: '*.deb', allowEmptyArchive: true, fingerprint: true, onlyIfSuccessful: true
|
archiveArtifacts artifacts: '*.deb', allowEmptyArchive: true, fingerprint: true, onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue