r7rs-tests/templates/Jenkinsfile-job-top

23 lines
908 B
Plaintext
Raw Normal View History

2024-10-05 04:55:06 -04:00
stage("{{name}}") {
agent {
docker {
image '{{{dockerimage}}}'
reuseNode true
}
}
when {
expression {
params.BUILD_IMPLEMENTATION == 'all' || params.BUILD_IMPLEMENTATION == '{{name}}'
}
}
environment {
MITSCHEME_LIBRARY_PATH = "${env.MITSCHEME_LIBRARY_PATH}:${env.PWD}:${env.PWD}/srfi"
TR7_LIB_PATH = "${env.TR7_LIB_PATH}:${env.PWD}:${env.PWD}/srfi"
}
steps {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh 'find . -maxdepth 1 -name "*.log" -delete'
sh 'find . -name "*.so" -delete'
sh 'find . -name "*.o" -delete'
sh 'find . -name "*.o" -delete'