From f645abf7f819d2cf1939eedfbda57ced37c5b48c Mon Sep 17 00:00:00 2001 From: SergeySeroshtan Date: Mon, 26 Jul 2021 15:38:14 +0300 Subject: [PATCH 1/2] [WIP] Attempt to fix Python builds (jenkins) --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2207dd15d..0f2aa33d7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -684,7 +684,13 @@ def buildPythonPackages(platform, bdistPlatformName) { return } - unstash "python_wrapper_${platform}" + 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") { From be85b49222db410ed6ef254f326a51a45e3f5321 Mon Sep 17 00:00:00 2001 From: SergeySeroshtan Date: Mon, 26 Jul 2021 21:04:15 +0300 Subject: [PATCH 2/2] [WIP] Attempt to fix Python builds 2 (jenkins) --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 0f2aa33d7..5fbd4f4cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -684,6 +684,10 @@ def buildPythonPackages(platform, bdistPlatformName) { return } + docker.image('python:2.7').inside("--user root") { + clearContentUnix() + } + try { unstash "python_wrapper_${platform}"