final test

daily
QXZ3NHY 2023-06-19 12:17:09 +02:00
parent 08a3076341
commit 74dfbaea19
1 changed files with 17 additions and 17 deletions

34
Jenkinsfile vendored
View File

@ -85,19 +85,19 @@ pipeline {
installRetryCount = installRetryCount+1 installRetryCount = installRetryCount+1
} }
sh """
pip3 install -r requirements.txt
"""
// for python3.8
// sh """ // sh """
// sudo add-apt-repository ppa:deadsnakes/ppa -y && \ // pip3 install -r requirements.txt
// 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
// """ // """
// 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}" echo "${SCRIPT_PARAMETER}"
// for python3.8 // for python3.8
// sh "python3.8 createReport.py ${SCRIPT_PARAMETER}" sh "python3.8 createReport.py ${SCRIPT_PARAMETER}"
// sh "python3.8 summary.py" sh "python3.8 summary.py"
sh "python3 createReport.py ${SCRIPT_PARAMETER}" // sh "python3 createReport.py ${SCRIPT_PARAMETER}"
sh "python3 summary.py" // sh "python3 summary.py"
summary = readFile('summary.txt').trim() summary = readFile('summary.txt').trim()
if (KPI_EXTENSION=='true') { if (KPI_EXTENSION=='true') {
@ -179,9 +179,9 @@ pipeline {
// to: 'patryk.gudalewicz.bp@nttdata.com', // 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', // 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 // 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: // test:
// to: 'Daniel.Mikula@nttdata.com, Arnel.Arnautovic@nttdata.com', to: 'Daniel.Mikula@nttdata.com, Arnel.Arnautovic@nttdata.com',
replyTo: 'coco-apm@bmw.de', replyTo: 'coco-apm@bmw.de',
attachmentsPattern: '*.xlsx' attachmentsPattern: '*.xlsx'
} catch ( mailExc ) { } catch ( mailExc ) {