From: Jessica Wagantall Date: Wed, 11 Dec 2019 17:04:57 +0000 (-0800) Subject: Revert "Add step to verify stage repo is closed" X-Git-Tag: v0.49.0~10 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=a2cfbc66e675655ed0fb7d76862fdc044d96678d;p=releng%2Fglobal-jjb.git Revert "Add step to verify stage repo is closed" This reverts commit 9c9feb37d817b1829d82e1531fa3a85499cbe7c4. Change-Id: Ibd8060a990f2f39a20bb1e72cfd3b8a4e6e26c9c Signed-off-by: Jessica Wagantall --- diff --git a/releasenotes/notes/verify-staging-repo-92ae65287c42d2d2.yaml b/releasenotes/notes/verify-staging-repo-92ae65287c42d2d2.yaml deleted file mode 100644 index cc2a8bed..00000000 --- a/releasenotes/notes/verify-staging-repo-92ae65287c42d2d2.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -fixes: - - | - Add step to verify Nexus staging repository is closed correctly or - fail the staging job, if the repository is still open. This allows - projects to address the validation failures earlier during maven-stage - phase, instead of waiting to catch them while running the self-release job. diff --git a/shell/maven-stage.sh b/shell/maven-stage.sh index 63d3f1e4..fa890475 100644 --- a/shell/maven-stage.sh +++ b/shell/maven-stage.sh @@ -22,9 +22,6 @@ 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"