remobed checkout scm step in build image

This commit is contained in:
TomPGrid 2025-02-28 13:22:56 +01:00
parent 935ce0c7aa
commit ebf39d32e4

1
Jenkinsfile vendored
View file

@ -38,7 +38,6 @@ pipeline {
}
}
steps {
checkout scm
script {
def docker_image=docker.build("mr:8084/spring-petclinic:$GIT_COMMIT")
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'