Do not leave staging repo open 37/33837/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 1 Feb 2016 02:29:13 +0000 (21:29 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 1 Feb 2016 02:29:16 +0000 (21:29 -0500)
commitd923faff8b1fc8a645f31076de013326b3117e00
tree1b45f24f27af1980430d6459b4cd7c6e9aa1d844
parent872f40febb8775eb0039cb562b9b3d2d36b65cf7
Do not leave staging repo open

Nexus does not publish a staging repo if the repo is left in the Open
state. Unfortunately this means we have to decide on what's more
important.

1) Automated tests can trigger immediately after autorelease produces
   new build.
2) Ability to add additional artifacts to a Maven repo (such as GPG
   signatures)

Case 1 can only work if we Close the Staging repo. Case 2 requires us to
leave the Staging repo in Open state so that we can push gpg signatures
up after the build completes.

The workaround for Case 1 is the manually launch the
integration-distribution test once Helpdesk manually makes the staging
repo available post build. Which makes something that used to be
automated to now be a manual task which isn't ideal either.

Change-Id: I00c210cec159c83e7d3badf16306586541e364dc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/include-raw-autorelease-maven-deploy.sh