version switch to python 3.8 should be successful now

daily
SLW\ARNAUA 2023-06-15 14:53:15 +02:00
parent 29e3f2b034
commit 73241ca7c1
1 changed files with 3 additions and 4 deletions

7
Jenkinsfile vendored
View File

@ -90,10 +90,9 @@ pipeline {
sudo apt update
sudo apt install python3.8 -y
python3.8 --version
sudo update-alternatives --config python
sudo update-alternatives --set python /usr/bin/python3.8
pip3.8 install -r requirements.txt
pip3.8 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git
sudo update-alternatives --set python /usr/bin/python3.8
pip3 install -r requirements.txt
pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git
"""
}
}