X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcommon-variables.sh;h=0001ac835b2e5638de0aed671ca494be0e7d5d09;hb=04547fcca5cabd3d9ad24fced4a0cf268d789296;hp=be0a451258c3fbd81d01f6b318d03145cee8fe97;hpb=44ff38808d29019bdb6280caed3dbc20ba5c1891;p=releng%2Fglobal-jjb.git diff --git a/shell/common-variables.sh b/shell/common-variables.sh index be0a4512..0001ac83 100644 --- a/shell/common-variables.sh +++ b/shell/common-variables.sh @@ -13,6 +13,7 @@ echo "---> common-variables.sh" # scripts. It is meant to be sourced in other scripts so that the variables can # be called. +# shellcheck disable=SC2140 MAVEN_OPTIONS="$(echo --show-version \ --batch-mode \ -Djenkins \ @@ -21,14 +22,3 @@ MAVEN_OPTIONS="$(echo --show-version \ -Dmaven.repo.local=/tmp/r \ -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r)" echo "$MAVEN_OPTIONS" - -# Activates the lftools virtualenv -lftools_activate() { - echo "WARNING: lftools_activate should no longer be used"\ - "and will be removed in a future release." - virtualenv --quiet "/tmp/v/lftools" - set +u # Ignore unbound variables in activate - # shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091 - source "/tmp/v/lftools/bin/activate" - set -u # Restore unbound variable checking -}