mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-28 14:19:38 +00:00
jenmkinsfile
This commit is contained in:
parent
97bd3ea4c6
commit
73d309a30a
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -8,7 +8,7 @@ pipeline {
|
|||
environment {
|
||||
JFROG_CLI_BUILD_NAME = "spring-petclinic"
|
||||
JFROG_CLI_BUILD_NUMBER = "${BUILD_ID}"
|
||||
ARTIFACTORY_URL = "http://artifactory.artifactory.svc.cluster.local:8081"
|
||||
ARTIFACTORY_URL = "https://trialt0zppb.jfrog.io/"
|
||||
JF = "${WORKSPACE}/jf"
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ pipeline {
|
|||
|
||||
stage('Configure JFrog CLI') {
|
||||
steps {
|
||||
withCredentials([usernamePassword(credentialsId: 'jfrog-platform-creds', usernameVariable: 'ARTIFACTORY_USER', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
|
||||
withCredentials([usernamePassword(credentialsId: 'jfrog-saas', usernameVariable: 'ARTIFACTORY_USER', passwordVariable: 'ARTIFACTORY_PASSWORD')]) {
|
||||
sh '''
|
||||
"$JF" c add petclinic \
|
||||
--url="${ARTIFACTORY_URL}" \
|
||||
|
|
Loading…
Reference in a new issue