diff --git a/Jenkinsfile b/Jenkinsfile index 012bd7f..19806a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } diff --git a/settings.xml b/settings.xml index 7368837..5e05b27 100644 --- a/settings.xml +++ b/settings.xml @@ -9,6 +9,21 @@ ${env.USERNAME} ${env.PASSWORD} + + spring-plugins-release + ${env.ARTIFACTORY_USR} + ${env.ARTIFACTORY_PSW} + + + spring-libs-snapshot + ${env.ARTIFACTORY_USR} + ${env.ARTIFACTORY_PSW} + + + spring-libs-milestone + ${env.ARTIFACTORY_USR} + ${env.ARTIFACTORY_PSW} + \ No newline at end of file