X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-central.sh;h=829c4dd71b0a611064206341d4a8931d1dc5bd5f;hb=refs%2Fchanges%2F50%2F72650%2F2;hp=88c3bc146364146d66fd583338d9d2acc13bc779;hpb=3547fa99c9ef73f2f0dc66328ccd91d381df2466;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-central.sh b/shell/maven-central.sh index 88c3bc14..829c4dd7 100644 --- a/shell/maven-central.sh +++ b/shell/maven-central.sh @@ -15,6 +15,11 @@ profile_id="${OSSRH_PROFILE_ID:-}" # Ensure we fail the job if any steps fail. set -eux -o pipefail +# shellcheck disable=SC1090 +. ~/lf-env.sh + +lf-activate-venv --python python3 lftools + MC_TMP_FILE="$(mktemp)" echo "Staging in OSSRH for Maven Central" lftools deploy nexus-stage "https://oss.sonatype.org" "$profile_id" "$WORKSPACE/m2repo" | tee "$MC_TMP_FILE"