From 0d33b2ff7f43b8c9389838f7d7d9fead988365b1 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Thu, 15 Jun 2023 13:50:11 +0200 Subject: [PATCH] error 128 debugging, potential fix --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ac83207..b7defd9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,6 +85,8 @@ pipeline { installRetryCount = installRetryCount+1 } sh """ + sudo yum -y python38 python38-devel + python3.8 --version pip3 install -r requirements.txt pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git """ @@ -133,13 +135,13 @@ pipeline { } echo "${SCRIPT_PARAMETER}" - sh "python3 createReport.py ${SCRIPT_PARAMETER}" - sh "python3 summary.py" + sh "python3.8 createReport.py ${SCRIPT_PARAMETER}" + sh "python3.8 summary.py" summary = readFile('summary.txt').trim() if (KPI_EXTENSION=='true') { echo "Executing KPI Extension" - sh "python3 kpi_extension.py" + sh "python3.8 kpi_extension.py" } }