From 229e9e387016725323829fd37d4a89244a087484 Mon Sep 17 00:00:00 2001 From: QXZ3NHY Date: Fri, 16 Jun 2023 08:14:43 +0200 Subject: [PATCH] kpi-extension functionality --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0fe3fbe..a4f4b7f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -94,9 +94,13 @@ pipeline { sudo apt install python3.8 -y sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 sudo update-alternatives --config python - sudo apt install python3-pip -y pip3 --version python --version + python -m pip install pip + echo 'if [ -d "$HOME/.local/bin" ] ; then' >> ~/.bashrc + echo ' PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc + echo 'fi' >> ~/.bashrc + cat ~/.bashrc pip3 install -r requirements.txt pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git """