dont use tar use setup
This commit is contained in:
		
							
								
								
									
										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.
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user