mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
fix jenkinsfile
This commit is contained in:
parent
379bd64596
commit
b5254957ff
1 changed files with 0 additions and 9 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -16,9 +16,6 @@ pipeline {
|
||||||
echo 'Building..'
|
echo 'Building..'
|
||||||
sh 'docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"'
|
sh 'docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"'
|
||||||
sh 'mvn -q package'
|
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'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,12 +43,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Run Integration Test') {
|
|
||||||
agent any
|
|
||||||
steps {
|
|
||||||
sh 'mvn clean verify -Dbrowser=chrome'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Push to dockerhub') {
|
stage('Push to dockerhub') {
|
||||||
agent any
|
agent any
|
||||||
|
|
Loading…
Reference in a new issue