#2017 - Authenticate against release repository.

This commit is contained in:
Oliver Drotbohm
2023-07-14 09:35:17 +02:00
parent 627e054442
commit 7c2eaad49c
2 changed files with 6 additions and 1 deletions

2
Jenkinsfile vendored
View File

@@ -214,7 +214,7 @@ pipeline {
steps {
script {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,distribute ' +
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,distribute -s settings.xml ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +

View File

@@ -8,5 +8,10 @@
<username>${env.SONATYPE_USR}</username>
<password>${env.SONATYPE_PSW}</password>
</server>
<server>
<id>spring-release</id>
<username>${env.ARTIFACTORY_USR}</username>
<password>${env.ARTIFACTORY_PSW}</password>
</server>
</servers>
</settings>