mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
fix jenkisfile
This commit is contained in:
parent
308cfae7b6
commit
56e9f9fb3c
1 changed files with 5 additions and 7 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -5,13 +5,11 @@ pipeline {
|
|||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building..'
|
||||
docker login -u="natyramone" -p="polaco2312"
|
||||
|
||||
mvn -q package
|
||||
|
||||
docker build -t pet-clinic .
|
||||
docker tag pet-clinic $DOCKER_USER/pet-clinic:latest
|
||||
docker push $DOCKER_USER/pet-clinic:latest
|
||||
sh 'docker login -u="natyramone" -p="polaco2312"'
|
||||
sh 'mvn -q package'
|
||||
sh 'docker build -t pet-clinic .'
|
||||
sh 'docker tag pet-clinic $DOCKER_USER/pet-clinic:latest'
|
||||
sh 'docker push $DOCKER_USER/pet-clinic:latest'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue