diff --git a/Jenkinsfile b/Jenkinsfile index 13dea91..896daf9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,19 +85,19 @@ pipeline { installRetryCount = installRetryCount+1 } - sh """ - pip3 install -r requirements.txt - """ - // for python3.8 // sh """ - // sudo add-apt-repository ppa:deadsnakes/ppa -y && \ - // sudo apt install python3.8 -y && \ - // python3.8 --version - // curl https://bootstrap.pypa.io/get-pip.py | python3.8 - // python3.8 -m pip --version - // python3.8 -m pip install -r requirements.txt - // python3.8 -m pip install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git + // pip3 install -r requirements.txt // """ + // for python3.8 + sh """ + sudo add-apt-repository ppa:deadsnakes/ppa -y && \ + sudo apt install python3.8 -y && \ + python3.8 --version + curl https://bootstrap.pypa.io/get-pip.py | python3.8 + python3.8 -m pip --version + python3.8 -m pip install -r requirements.txt + python3.8 -m pip install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git + """ } } } @@ -144,10 +144,10 @@ pipeline { echo "${SCRIPT_PARAMETER}" // for python3.8 - // sh "python3.8 createReport.py ${SCRIPT_PARAMETER}" - // sh "python3.8 summary.py" - sh "python3 createReport.py ${SCRIPT_PARAMETER}" - sh "python3 summary.py" + sh "python3.8 createReport.py ${SCRIPT_PARAMETER}" + sh "python3.8 summary.py" + // sh "python3 createReport.py ${SCRIPT_PARAMETER}" + // sh "python3 summary.py" summary = readFile('summary.txt').trim() if (KPI_EXTENSION=='true') { @@ -179,9 +179,9 @@ pipeline { // to: 'patryk.gudalewicz.bp@nttdata.com', // to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, arnel.arnautovic@nttdata.com, patryk.gudalewicz.bp@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, michaela.jaeger@bmw.de, OOC-Support@bmwgroup.com, Andreas.DB.Danzer@bmwgroup.com', // original recipients below - to: 'Andreas.DB.Danzer@bmwgroup.com, Arnel.Arnautovic@nttdata.com, Ermis.Wieger@nttdata.com', + // to: 'Andreas.DB.Danzer@bmwgroup.com, Arnel.Arnautovic@nttdata.com, Ermis.Wieger@nttdata.com', // test: - // to: 'Daniel.Mikula@nttdata.com, Arnel.Arnautovic@nttdata.com', + to: 'Daniel.Mikula@nttdata.com, Arnel.Arnautovic@nttdata.com', replyTo: 'coco-apm@bmw.de', attachmentsPattern: '*.xlsx' } catch ( mailExc ) {