fix jenkinsfile

This commit is contained in:
Natalia Villegas 2018-12-18 12:16:03 -03:00
parent 379bd64596
commit b5254957ff

9
Jenkinsfile vendored
View file

@ -16,9 +16,6 @@ pipeline {
echo 'Building..'
sh 'docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"'
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') {
agent any