X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-deploy-maven-site.sh;h=bddcbe668c269b7524b0ebe9595e71e1e11f6118;hb=53cbafa8726900f0c2fdf8b04bf4aede23a91e26;hp=7563499018e5740d2f17745b1d6e7a3ab359f695;hpb=f0a7323681e161e04e8c750090bfdce566775723;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-deploy-maven-site.sh b/jjb/opendaylight-infra-deploy-maven-site.sh index 756349901..bddcbe668 100644 --- a/jjb/opendaylight-infra-deploy-maven-site.sh +++ b/jjb/opendaylight-infra-deploy-maven-site.sh @@ -10,22 +10,13 @@ ############################################################################## # Ensure we fail the job if any steps fail. +# shellcheck disable=SC2039,SC3040 set -eu -o pipefail # shellcheck disable=SC1090 . ~/lf-env.sh -# Check if openstack venv was previously created -if [ -f "/tmp/.os_lf_venv" ]; then - os_lf_venv=$(cat "/tmp/.os_lf_venv") -fi - -if [ -d "${os_lf_venv}" ] && [ -f "${os_lf_venv}/bin/openstack" ]; then - echo "Re-use existing venv: ${os_lf_venv}" - PATH=$os_lf_venv/bin:$PATH -else - lf-activate-venv --python python3 lftools -fi +lf-activate-venv --python python3 lftools MAVEN_GROUP_ID=$(xmlstarlet sel \ -N "x=http://maven.apache.org/POM/4.0.0" \