only pushing to jfrog

This commit is contained in:
Maharshi Patel 2021-01-10 12:18:38 -08:00
parent a7bea98c1d
commit 456265250f

4
Jenkinsfile vendored
View file

@ -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()
} }
} }