From e8fee2e22dda4915a1e8887f60e27f9fed2af42d Mon Sep 17 00:00:00 2001 From: QXZ3NHY Date: Fri, 16 Jun 2023 08:26:22 +0200 Subject: [PATCH] kpi-extension functionality --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6b1a2a9..d5d0f8e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -89,18 +89,18 @@ pipeline { // pip3 install -r requirements.txt // """ // sudo apt update && \ + cp ~/.bashrc ~/.bashrc_bak + // echo 'if [ -d "$HOME/.local/bin" ] ; then' >> ~/.bashrc + // echo ' PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc + // echo 'fi' >> ~/.bashrc sh """ sudo add-apt-repository ppa:deadsnakes/ppa -y && \ sudo apt install python3.8 -y sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 sudo update-alternatives --config python - pip3 --version python --version python -m pip install pip - cp ~/.bashrc ~/.bashrc_bak - echo 'if [ -d "$HOME/.local/bin" ] ; then' >> ~/.bashrc - echo ' PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc - echo 'fi' >> ~/.bashrc + pip3 --version cat ~/.bashrc pip3 install -r requirements.txt pip3 install git+https://${AUTH_USR}:${AUTH_PSW}@atc.bmwgroup.net/bitbucket/scm/opapm/keyrequestparser.git