diff --git a/Jenkinsfile b/Jenkinsfile index 2207dd15d..5fbd4f4cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -684,7 +684,17 @@ def buildPythonPackages(platform, bdistPlatformName) { return } - unstash "python_wrapper_${platform}" + docker.image('python:2.7').inside("--user root") { + clearContentUnix() + } + + try { + unstash "python_wrapper_${platform}" + + } catch(error) { + echo "Error unstashing python_wrapper_${platform}: ${error}" + return + } dir('wrappers/python') { docker.image("python:2.7").inside("--user root") {