diff --git a/Jenkinsfile b/Jenkinsfile index ccde183..1950872 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -86,7 +86,7 @@ pipeline { } sh """ cat /etc/os-release - python3.8 --version + python --version pip3 install -r requirements.txt pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git """ @@ -135,13 +135,13 @@ pipeline { } echo "${SCRIPT_PARAMETER}" - sh "python3.8 createReport.py ${SCRIPT_PARAMETER}" - sh "python3.8 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.8 kpi_extension.py" + sh "python kpi_extension.py" } }