mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
jenkisfile
This commit is contained in:
parent
68bb73bcc2
commit
f045360d71
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -14,7 +14,7 @@ pipeline {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Building..'
|
echo 'Building..'
|
||||||
sh 'docker login -u="natyramone" -p="polaco2312"'
|
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 build -t pet-clinic .'
|
||||||
sh 'docker tag pet-clinic $DOCKER_USER/pet-clinic:latest'
|
sh 'docker tag pet-clinic $DOCKER_USER/pet-clinic:latest'
|
||||||
|
|
Loading…
Reference in a new issue