paper-cutter/Jenkinsfile
2021-11-29 11:37:07 +01:00

17 lines
470 B
Groovy

pipeline {
agent any
stages {
stage('Test') {
steps {
script {
def customImage = docker.build("paper-cutter:${env.BUILD_ID}")
customImage.inside() {
dir('test') {
sh 'fakehomedir=$(pwd)/fakehome mkdir $fakehomedir && HOME=$fakehomedir bash run_tests.sh'
}
}
}
}
}
}
}