Skip to content

Commit 5b96378

Browse files
committed
Use correct publishing credentials.
1 parent ec1d967 commit 5b96378

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pipeline {
9090

9191
environment {
9292
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
93-
SONATYPE = credentials('oss-s01-token')
93+
CENTRAL_TOKEN = credentials('central-token')
9494
KEYRING = credentials('spring-signing-secring.gpg')
9595
PASSPHRASE = credentials('spring-gpg-passphrase')
9696
}

settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
</server>
2727
<server>
2828
<id>central</id>
29-
<username>${env.CENTRAL_TOKEN_USERNAME}</username>
30-
<password>${env.CENTRAL_TOKEN_PASSWORD}</password>
29+
<username>${env.CENTRAL_TOKEN_USR}</username>
30+
<password>${env.CENTRAL_TOKEN_PSW}</password>
3131
</server>
3232
</servers>
3333

0 commit comments

Comments
 (0)