From 23a28f790a5f2339f03f7ba811c8283d086533b1 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 10 May 2017 00:46:19 -0500 Subject: [PATCH] Disable OSSRH Deploy For the release disable OSSRH Deploy since we will release only to Artifactory for the milestone. We cannot deploy to OSSRH because we have RC dependencies that are not in Maven Central. --- Jenkinsfile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9c21ab69..767fead1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,21 +56,7 @@ try { } if(currentBuild.result == 'SUCCESS') { - parallel ossrh : { - stage('OSSRH Deploy') { - node { - checkout scm - withCredentials([file(credentialsId: 'spring-signing-secring.gpg', variable: 'SIGNING_KEYRING_FILE')]) { - withCredentials([string(credentialsId: 'spring-gpg-passphrase', variable: 'SIGNING_PASSWORD')]) { - withCredentials([usernamePassword(credentialsId: 'oss-token', passwordVariable: 'OSSRH_PASSWORD', usernameVariable: 'OSSRH_USERNAME')]) { - sh "./gradlew uploadArchives -PexcludeProjects='**/samples/**' -Psigning.secretKeyRingFile=$SIGNING_KEYRING_FILE -Psigning.keyId=$SPRING_SIGNING_KEYID -Psigning.password=$SIGNING_PASSWORD -PossrhUsername=$OSSRH_USERNAME -PossrhPassword=$OSSRH_PASSWORD --refresh-dependencies --no-daemon" - } - } - } - } - } - }, - docs: { + parallel docs: { stage('Deploy Docs') { node { checkout scm