X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fmaven-stage.sh;h=63d3f1e444f05d3596c8addabe1526d725890e7a;hb=refs%2Fchanges%2F51%2F62051%2F1;hp=fa890475186aebf2ce6534cf95c182a74215aa87;hpb=44c66ab6408497451aa0f7f90cb5c284d4b46be2;p=releng%2Fglobal-jjb.git diff --git a/shell/maven-stage.sh b/shell/maven-stage.sh index fa890475..63d3f1e4 100644 --- a/shell/maven-stage.sh +++ b/shell/maven-stage.sh @@ -22,6 +22,9 @@ TMP_FILE="$(mktemp)" lftools deploy nexus-stage "$NEXUS_URL" "$STAGING_PROFILE_ID" "$WORKSPACE/m2repo" | tee "$TMP_FILE" staging_repo=$(sed -n -e 's/Staging repository \(.*\) created\./\1/p' "$TMP_FILE") +echo "INFO: Verify Nexus staging repository is closed" +lftools nexus release -v --server "$NEXUS_URL" "$staging_repo" + # Store repo info to a file in archives mkdir -p "$WORKSPACE/archives" echo "$staging_repo ${NEXUS_URL}/content/repositories/$staging_repo" | tee -a "$WORKSPACE/archives/staging-repo.txt"