diff --git a/Jenkinsfile b/Jenkinsfile index cc95322..f59408b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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.