version switch to python 3.8 should be successful now

daily
SLW\ARNAUA 2023-06-15 16:08:44 +02:00
parent 06c77ff09f
commit f72375f314
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

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