|
@@ -56,21 +56,7 @@ try {
|
|
}
|
|
}
|
|
|
|
|
|
if(currentBuild.result == 'SUCCESS') {
|
|
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') {
|
|
stage('Deploy Docs') {
|
|
node {
|
|
node {
|
|
checkout scm
|
|
checkout scm
|