mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-29 14:49:38 +00:00
jenmkinsfile
This commit is contained in:
parent
c635ba3ac2
commit
0fd1f798da
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -4,7 +4,7 @@ pipeline {
|
||||||
maven 'maven-3'
|
maven 'maven-3'
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
JFROG_URL = "https://trialt0zppb.jfrog.io"
|
JFROG_URL = "https://trialt0zppb.jfrog.io/"
|
||||||
JFROG_REPO_RELEASES = "petclinic-maven-dev-local"
|
JFROG_REPO_RELEASES = "petclinic-maven-dev-local"
|
||||||
JFROG_REPO_SNAPSHOTS = "petclinic-maven-dev-virtual"
|
JFROG_REPO_SNAPSHOTS = "petclinic-maven-dev-virtual"
|
||||||
JFROG_CREDENTIALS_ID = 'jfrog-saas'
|
JFROG_CREDENTIALS_ID = 'jfrog-saas'
|
||||||
|
@ -27,7 +27,7 @@ pipeline {
|
||||||
withCredentials([usernamePassword(credentialsId: "${JFROG_CREDENTIALS_ID}", usernameVariable: 'JFROG_USER', passwordVariable: 'JFROG_API_KEY')]) {
|
withCredentials([usernamePassword(credentialsId: "${JFROG_CREDENTIALS_ID}", usernameVariable: 'JFROG_USER', passwordVariable: 'JFROG_API_KEY')]) {
|
||||||
sh """
|
sh """
|
||||||
${JF} config add jenkins-config \
|
${JF} config add jenkins-config \
|
||||||
--artifactory-url=${JFROG_URL}/artifactory \
|
--url=${JFROG_URL} \
|
||||||
--user=${JFROG_USER} \
|
--user=${JFROG_USER} \
|
||||||
--password=${JFROG_API_KEY} \
|
--password=${JFROG_API_KEY} \
|
||||||
--interactive=false \
|
--interactive=false \
|
||||||
|
|
Loading…
Reference in a new issue