From f72375f31415cfba402533a5f3291a68fb880274 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Thu, 15 Jun 2023 16:08:44 +0200 Subject: [PATCH] version switch to python 3.8 should be successful now --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 59fbb58..d631bb8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -88,8 +88,8 @@ pipeline { sudo add-apt-repository ppa:deadsnakes/ppa -y && \ sudo apt update && \ sudo apt install python3.8 -y && \ - python3.8 --version pip3 --version + python --version pip3 install -r requirements.txt pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git """ @@ -138,13 +138,13 @@ pipeline { } echo "${SCRIPT_PARAMETER}" - sh "python3 createReport.py ${SCRIPT_PARAMETER}" - sh "python3 summary.py" + sh "python createReport.py ${SCRIPT_PARAMETER}" + sh "python summary.py" summary = readFile('summary.txt').trim() if (KPI_EXTENSION=='true') { echo "Executing KPI Extension" - sh "python3 kpi_extension.py" + sh "python kpi_extension.py" } }