Skip to content

Commit ffb9b96

Browse files
committed
update from ossrh to central
1 parent 80664b0 commit ffb9b96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pipeline {
4242
stage('Build') {
4343
steps {
4444
withCredentials([usernamePassword(credentialsId: 'jenkins-dockerhub', usernameVariable: 'DOCKER_USERNAME', passwordVariable: 'DOCKER_PASSWORD'),
45-
usernamePassword(credentialsId: 'jenkins-ossrh', usernameVariable: 'OSSRH_USER', passwordVariable: 'OSSRH_PASS'),
45+
usernamePassword(credentialsId: 'jenkins-central', usernameVariable: 'CENTRAL_USER', passwordVariable: 'CENTRAL_PASS'),
4646
string(credentialsId: 'jenkins-gpg', variable: 'GPG_PASS')]) {
4747
withMaven {
4848
sh "./jdk-wrapper.sh ./mvnw $target -P rpm -U -B -Dstyle.color=always -Dstyle.color=always -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Ddocker.verbose=true"

settings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<settings>
22
<servers>
33
<server>
4-
<id>ossrh</id>
5-
<username>${env.OSSRH_USER}</username>
6-
<password>${env.OSSRH_PASS}</password>
4+
<id>central</id>
5+
<username>${env.CENTRAL_USER}</username>
6+
<password>${env.CENTRAL_PASS}</password>
77
</server>
88
<server>
99
<id>arpnet</id>

0 commit comments

Comments
 (0)