Jenkinsfile

This commit is contained in:
Szabó Barnabás 2018-01-29 22:44:40 +01:00
parent 31b3e2e600
commit 752f8d8103

8
Jenkinsfile vendored
View file

@ -17,12 +17,10 @@ pipeline {
./mvnw clean package -DskipTests -T 2 ./mvnw clean package -DskipTests -T 2
''' '''
} }
docker.build("loxon/petclinic:2.0.0").push()
} }
sh './mvnw clean package -DskipTests'
sh 'pwd'
sh 'ls -la'
sh 'docker build --pull -t loxon/petclinic:2.0.0 .'
sh 'docker push loxon/petclinic:2.0.0'
} }
} }