mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
test changes
This commit is contained in:
parent
ee7775d2ad
commit
5a6b36b855
1 changed files with 6 additions and 2 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -38,9 +38,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
checkout scm
|
||||||
|
|
||||||
|
def docker_image=docker.build("mr:8084/spring-petclinic:${env.GIT_COMMIT}")
|
||||||
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
||||||
sh 'docker build -t mr:8084/spring-petclinic:${GIT_COMMIT} .'
|
|
||||||
sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}'
|
docker_image.push('${env.GIT_COMMIT})
|
||||||
|
sh 'docker push mr:8084/spring-petclinic:${env.GIT_COMMIT}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue