dont use tar use setup

This commit is contained in:
Derek DeJonghe 2019-08-05 13:15:52 -04:00
parent 28bd7549cd
commit 6982213feb

2
Jenkinsfile vendored
View File

@ -60,7 +60,7 @@ pipeline {
// Docker build flags are set via the getDockerBuildFlags() shared library.
sh "docker build ${getDockerBuildFlags()} -t ${env.DOCKER_REGISTRY}/${env.SERVICE}:${env.VERSION} ."
sh "tar -czvf ${env.SERVICE}-${env.VERSION}.tar.gz . --exclude='./.git'"
sh "python setup.py sdist"
}
post{
// Update Git with status of build stage.