X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-deploy.sh;fp=shell%2Fmaven-deploy.sh;h=6d4165edf59d16d53cb088b910388b8b793a932b;hb=7ff047e6606b384cd84cd6dbc5bea3d93e29357f;hp=15928eea4e06f886553a5c0641fac4c9fed9d05f;hpb=8808c71bc8632fc6e3553cd674e8c605ad5af436;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-deploy.sh b/shell/maven-deploy.sh index 15928eea..6d4165ed 100644 --- a/shell/maven-deploy.sh +++ b/shell/maven-deploy.sh @@ -20,6 +20,8 @@ set -eu -o pipefail m2repo_dir="$WORKSPACE/m2repo" nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO" +lftools_activate + # Remove metadata files that were not updated. set +e # Temporarily disable to run diff command. IFS=" " read -r -a metadata_files <<< "$(diff -s -r "$m2repo_dir" "$WORKSPACE/m2repo-backup" \