paper-cutter/Jenkinsfile

17 lines
517 B
Groovy

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