Stop leaving staging repos in open state 02/36902/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 30 Mar 2016 16:57:07 +0000 (12:57 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 30 Mar 2016 17:14:25 +0000 (13:14 -0400)
We're going to submit gpg signatures in a separate staging repository.
This will allow us to not use the workaround with Nginx.

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

index 50fa109b916ed73d47ec8e2af1e4cf1c7d577668..38c8d798ae5d5af025909937ea1269f1c5e0e6a5 100644 (file)
@@ -9,7 +9,7 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-NEXUSURL=https://nexus.opendaylight.org/staged-repos/
+NEXUSURL=https://nexus.opendaylight.org/content/repositories/
 VERSION=`grep -m1 '<version>' ${WORKSPACE}/integration/distribution/distribution-karaf/pom.xml | awk -F'[<|>]' '/version/ { printf $3 }'`
 if [ "x${VERSION}" == "x" ]; then
     echo "Lithium or sooner, different path needs to be searched."
index 96f0da1a4ad1d5a5b9ce645be96a2f07eea9a6ed..4cda45ad5506a5f7ecf1ae80c5282c43fc44f4a4 100644 (file)
@@ -9,15 +9,6 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-# Job will pass in a variable ${DATESTAMP} if this variable is false than we
-# we are likely releasing a release candidate. We should skip closing the
-# Nexus staging repository so that we can sign the artifacts.
-SKIP_STAGING_CLOSE=false
-if [ "${DATESTAMP}" == "false" ]
-then
-    SKIP_STAGING_CLOSE=true
-fi
-
 # Assuming that mvn deploy created the hide/from/pom/files/stage directory.
 cd hide/from/pom/files
 mkdir -p m2repo/org/opendaylight/
@@ -39,7 +30,6 @@ rsync -avz --exclude 'maven-metadata*' \
            "stage/org/opendaylight/integration" m2repo/org/opendaylight/
 
 mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
-    -DskipStagingRepositoryClose=${SKIP_STAGING_CLOSE} \
     -DrepositoryDirectory="`pwd`/m2repo" \
     -DnexusUrl=http://nexus.opendaylight.org/ \
     -DstagingProfileId="425e43800fea70" \