Remaking the Jenkinsfile
This commit is contained in:
parent
2e637d56ee
commit
b0754b5328
|
|
@ -8,18 +8,11 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Chibi primitives') {
|
stage('Chibi primitives') {
|
||||||
agent {
|
agent { docker { image 'schemers/chibi' } }
|
||||||
dockerfile {
|
|
||||||
filename 'Dockerfile.test'
|
|
||||||
additionalBuildArgs '--build-arg COMPILE_R7RS=chibi'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
environment {
|
|
||||||
COMPILE_R7RS = "chibi"
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh 'make test-compile-r7rs COMPILE_R7RS=chibi TESTNAME=primitives'
|
sh 'apt update && apt install -y make'
|
||||||
|
sh 'make test-compile-r7rs-docker COMPILE_R7RS=chibi TESTNAME=primitives'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue