kpi-extension functionality

daily
QXZ3NHY 2023-06-16 09:55:31 +02:00
parent 655488faaa
commit d9dac6b736
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -94,14 +94,14 @@ pipeline {
// echo 'fi' >> ~/.bashrc // echo 'fi' >> ~/.bashrc
// pip3 --version // pip3 --version
// cat ~/.bashrc // cat ~/.bashrc
// python -m pip install pip
sh """ sh """
sudo add-apt-repository ppa:deadsnakes/ppa -y && \ sudo add-apt-repository ppa:deadsnakes/ppa -y && \
sudo apt install python3.8 -y && \ sudo apt install python3.8 -y && \
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 && \ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 && \
sudo update-alternatives --config python && \ sudo update-alternatives --config python && \
python --version python --version
python -m pip install pip
ls -la /usr/lib/ | grep python
curl https://bootstrap.pypa.io/get-pip.py | python3.8 curl https://bootstrap.pypa.io/get-pip.py | python3.8
python3.8 -m pip --version python3.8 -m pip --version
python3.8 -m pip install -r requirements.txt python3.8 -m pip install -r requirements.txt