Fix Jenkinsfile
This commit is contained in:
parent
28fff8335d
commit
94c4eefa47
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user