fix Jenkinsfile

This commit is contained in:
hllvc 2021-07-13 21:45:39 +02:00
parent c6ec2e7676
commit 43f6208169

2
Jenkinsfile vendored
View file

@ -19,7 +19,7 @@ pipeline {
}
steps {
sh 'docker run -v $HOME/.m2:/root/.m2 -d petclinic-build > build_id'
BUILD_CONTAINER_ID = "cat build_id"
BUILD_CONTAINER_ID = sh (returnStdout: true, script: 'echo $(cat build_id)').trim()
}
}