error 128 debugging, potential fix

daily
SLW\ARNAUA 2023-06-15 13:50:11 +02:00
parent a9a4f8ef0b
commit 0d33b2ff7f
1 changed files with 5 additions and 3 deletions

8
Jenkinsfile vendored
View File

@ -85,6 +85,8 @@ pipeline {
installRetryCount = installRetryCount+1
}
sh """
sudo yum -y python38 python38-devel
python3.8 --version
pip3 install -r requirements.txt
pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git
"""
@ -133,13 +135,13 @@ pipeline {
}
echo "${SCRIPT_PARAMETER}"
sh "python3 createReport.py ${SCRIPT_PARAMETER}"
sh "python3 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 "python3 kpi_extension.py"
sh "python3.8 kpi_extension.py"
}
}