Fix Jenkinsfile

This commit is contained in:
Filip Gralinski 2021-11-29 08:29:13 +01:00
parent 28fff8335d
commit 94c4eefa47

2
Jenkinsfile vendored
View File

@ -3,12 +3,14 @@ pipeline {
stages { stages {
stage('Test') { stage('Test') {
steps { steps {
script {
def customImage = docker.build("paper-cutter:${env.BUILD_ID}") def customImage = docker.build("paper-cutter:${env.BUILD_ID}")
customImage.inside() { customImage.inside() {
dir('test') { dir('test') {
sh 'bash run_tests.sh' sh 'bash run_tests.sh'
} }
} }
}
} }
} }
} }