Revert "Add step to verify stage repo is closed" 00/62600/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 11 Dec 2019 17:04:57 +0000 (09:04 -0800)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 11 Dec 2019 17:05:47 +0000 (09:05 -0800)
This reverts commit 9c9feb37d817b1829d82e1531fa3a85499cbe7c4.

Change-Id: Ibd8060a990f2f39a20bb1e72cfd3b8a4e6e26c9c
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
releasenotes/notes/verify-staging-repo-92ae65287c42d2d2.yaml [deleted file]
shell/maven-stage.sh

diff --git a/releasenotes/notes/verify-staging-repo-92ae65287c42d2d2.yaml b/releasenotes/notes/verify-staging-repo-92ae65287c42d2d2.yaml
deleted file mode 100644 (file)
index cc2a8be..0000000
+++ /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.
index 63d3f1e..fa89047 100644 (file)
@@ -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"