python3.8 and pip fixed
parent
d9dac6b736
commit
5f8e7084f8
|
|
@ -80,7 +80,7 @@ pipeline {
|
|||
steps {
|
||||
dir("/opt/workspace/qm_report/") {
|
||||
retry(3) {
|
||||
sleep(30*installRetryCount)
|
||||
sleep(60*installRetryCount)
|
||||
script {
|
||||
installRetryCount = installRetryCount+1
|
||||
}
|
||||
|
|
@ -88,14 +88,6 @@ pipeline {
|
|||
// sh """
|
||||
// pip3 install -r requirements.txt
|
||||
// """
|
||||
// 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
|
||||
|
||||
// python -m pip install pip
|
||||
sh """
|
||||
sudo add-apt-repository ppa:deadsnakes/ppa -y && \
|
||||
sudo apt install python3.8 -y && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue