Authenticate with artifactory to fetch artifacts.

This commit is contained in:
Greg L. Turnquist
2021-04-14 14:24:17 -05:00
parent 5b603995e2
commit 82b9e6fc81
2 changed files with 33 additions and 0 deletions

18
Jenkinsfile vendored
View File

@@ -32,6 +32,9 @@ pipeline {
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}
steps {
sh "PROFILE=convergence ci/test.sh"
}
@@ -45,6 +48,9 @@ pipeline {
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}
steps {
sh "PROFILE=spring-next,convergence ci/test.sh"
}
@@ -56,6 +62,9 @@ pipeline {
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}
steps {
sh "PROFILE=convergence ci/test.sh"
}
@@ -67,6 +76,9 @@ pipeline {
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}
steps {
sh "PROFILE=spring-next,convergence ci/test.sh"
}
@@ -78,6 +90,9 @@ pipeline {
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}
steps {
sh "PROFILE=convergence ci/test.sh"
}
@@ -89,6 +104,9 @@ pipeline {
args '-v $HOME/.m2:/tmp/jenkins-home/.m2'
}
}
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
}
steps {
sh "PROFILE=spring-next,convergence ci/test.sh"
}

View File

@@ -9,6 +9,21 @@
<username>${env.USERNAME}</username>
<password>${env.PASSWORD}</password>
</server>
<server>
<id>spring-plugins-release</id>
<username>${env.ARTIFACTORY_USR}</username>
<password>${env.ARTIFACTORY_PSW}</password>
</server>
<server>
<id>spring-libs-snapshot</id>
<username>${env.ARTIFACTORY_USR}</username>
<password>${env.ARTIFACTORY_PSW}</password>
</server>
<server>
<id>spring-libs-milestone</id>
<username>${env.ARTIFACTORY_USR}</username>
<password>${env.ARTIFACTORY_PSW}</password>
</server>
</servers>
</settings>