mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-28 06:09:37 +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'
|
||||
}
|
||||
environment {
|
||||
JFROG_URL = "https://trialt0zppb.jfrog.io"
|
||||
JFROG_URL = "https://trialt0zppb.jfrog.io/"
|
||||
JFROG_REPO_RELEASES = "petclinic-maven-dev-local"
|
||||
JFROG_REPO_SNAPSHOTS = "petclinic-maven-dev-virtual"
|
||||
JFROG_CREDENTIALS_ID = 'jfrog-saas'
|
||||
|
@ -27,7 +27,7 @@ pipeline {
|
|||
withCredentials([usernamePassword(credentialsId: "${JFROG_CREDENTIALS_ID}", usernameVariable: 'JFROG_USER', passwordVariable: 'JFROG_API_KEY')]) {
|
||||
sh """
|
||||
${JF} config add jenkins-config \
|
||||
--artifactory-url=${JFROG_URL}/artifactory \
|
||||
--url=${JFROG_URL} \
|
||||
--user=${JFROG_USER} \
|
||||
--password=${JFROG_API_KEY} \
|
||||
--interactive=false \
|
||||
|
|
Loading…
Reference in a new issue