File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ pipeline {
110110
111111 environment {
112112 ARTIFACTORY = credentials(' 02bd1690-b54f-4c9f-819d-a77cb7a9822c' )
113- SONATYPE = credentials(' oss-token ' )
113+ SONATYPE = credentials(' oss-login ' )
114114 KEYRING = credentials(' spring-signing-secring.gpg' )
115115 PASSPHRASE = credentials(' spring-gpg-passphrase' )
116116 }
@@ -134,6 +134,11 @@ pipeline {
134134
135135 if (RELEASE_TYPE == ' release' ) {
136136 sh " PROFILE=distribute,central USERNAME=${ SONATYPE_USR} PASSWORD=${ SONATYPE_PSW} ci/build-and-deploy-to-maven-central.sh ${ PROJECT_VERSION} "
137+
138+ slackSend(
139+ color : (currentBuild. currentResult == ' SUCCESS' ) ? ' good' : ' danger' ,
140+ channel : ' #spring-ws' ,
141+ message : " @here Spring WS ${ PROJECT_VERSION} is staged on Sonatype awaiting closure and release." )
137142 } else {
138143 sh " PROFILE=distribute,${ RELEASE_TYPE} ci/build-and-deploy-to-artifactory.sh"
139144 }
Original file line number Diff line number Diff line change 476476 <extensions >true</extensions >
477477 <configuration >
478478 <serverId >sonatype</serverId >
479- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
480- <autoReleaseAfterClose >true </autoReleaseAfterClose >
479+ <nexusUrl >https://s01. oss.sonatype.org/</nexusUrl >
480+ <autoReleaseAfterClose >false </autoReleaseAfterClose >
481481 <keepStagingRepositoryOnFailure >true</keepStagingRepositoryOnFailure >
482- <skipStagingRepositoryClose >false </skipStagingRepositoryClose >
482+ <skipStagingRepositoryClose >true </skipStagingRepositoryClose >
483483 </configuration >
484484 </plugin >
485485 </plugins >
505505 <distributionManagement >
506506 <repository >
507507 <id >sonatype</id >
508- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
508+ <url >https://s01. oss.sonatype.org/ /service/local/staging/deploy/maven2/</url >
509509 </repository >
510510 </distributionManagement >
511511
You can’t perform that action at this time.
0 commit comments