X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-deploy.sh;h=5da6158db0892323d2d803902cdb1995792424b5;hb=f216bdeee46b3c3299868bc6fdd2753785358f0a;hp=f9e288930aca65482d134cb5790338e9d89ec8c2;hpb=e89478b17cdf59665e3915390973f93cafcab024;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-deploy.sh b/shell/maven-deploy.sh index f9e28893..5da6158d 100644 --- a/shell/maven-deploy.sh +++ b/shell/maven-deploy.sh @@ -41,8 +41,9 @@ find "$m2repo_dir" -type d -empty -delete echo "-----> Install lftools" # shellcheck disable=SC1090 -source ~/lf-env.sh -lf-activate-venv lftools +. ~/lf-env.sh + +lf-activate-venv --python python3 lftools echo "-----> Upload files to Nexus" lftools deploy nexus -s "$nexus_repo_url" "$m2repo_dir"