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" } }