error 128 debugging, potential fix

daily
SLW\ARNAUA 2023-06-15 14:04:33 +02:00
parent c0de7c37e6
commit fa3a84cbab
1 changed files with 9 additions and 5 deletions

14
Jenkinsfile vendored
View File

@ -85,8 +85,12 @@ pipeline {
installRetryCount = installRetryCount+1
}
sh """
cat /etc/os-release
python --version
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.8
python3.8 --version
pip3 install -r requirements.txt
pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git
"""
@ -135,13 +139,13 @@ pipeline {
}
echo "${SCRIPT_PARAMETER}"
sh "python createReport.py ${SCRIPT_PARAMETER}"
sh "python 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 "python kpi_extension.py"
sh "python3.8 kpi_extension.py"
}
}