mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:15:50 +00:00
s
This commit is contained in:
parent
5909bdd23b
commit
f85921fdf8
1 changed files with 3 additions and 2 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -5,6 +5,7 @@ pipeline {
|
|||
|
||||
environment {
|
||||
imageName = "spring-pet-clinic"
|
||||
|
||||
registryCredentials = "nexus-credentials"
|
||||
registry = "https://localhost:9081"
|
||||
dockerImage = ''
|
||||
|
@ -18,7 +19,7 @@ pipeline {
|
|||
stage ('Docker build') {
|
||||
steps {
|
||||
script {
|
||||
dockerImage = docker.build(imageName)
|
||||
sh 'docker build -t spring-pet-clinic .'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue