dont use tar use setup
This commit is contained in:
parent
28bd7549cd
commit
6982213feb
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user