mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
only pushing to jfrog
This commit is contained in:
parent
a7bea98c1d
commit
456265250f
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -9,7 +9,7 @@ pipeline {
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
environment {
|
environment {
|
||||||
artifactory_url="https://petclinic.jfrog.io/artifactory"
|
artifactory_url="https://petclinic.jfrog.io/artifactory"
|
||||||
artifactory_repo="spring-petclinic"
|
artifactory_repo="mpatel011/spring-petclinic"
|
||||||
}
|
}
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// END
|
// END
|
||||||
|
@ -29,7 +29,7 @@ pipeline {
|
||||||
stage('deploy image') {
|
stage('deploy image') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
docker.withRegistry('' , 'dockerhub') {
|
docker.withRegistry('' , 'jfrog') {
|
||||||
dockerImage.push()
|
dockerImage.push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue