jenkisfile

This commit is contained in:
Natalia Villegas 2018-12-16 18:17:47 -03:00
parent 68bb73bcc2
commit f045360d71

2
Jenkinsfile vendored
View file

@ -14,7 +14,7 @@ pipeline {
stage('Build') {
steps {
echo 'Building..'
sh 'docker login -u="natyramone" -p="polaco2312"'
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'