This commit is contained in:
work 2025-02-05 13:12:41 +01:00
parent 5909bdd23b
commit f85921fdf8

3
Jenkinsfile vendored
View file

@ -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 .'
}
}