mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
build en jenkinsfile
This commit is contained in:
parent
e0456812f3
commit
2554a98110
1 changed files with 8 additions and 10 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -5,17 +5,15 @@ pipeline {
|
|||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building..'
|
||||
docker login -u="natyramone" -p="polaco2312"
|
||||
|
||||
mvn -q package
|
||||
|
||||
docker build -t pet-clinic .
|
||||
docker tag pet-clinic $DOCKER_USER/pet-clinic:latest
|
||||
docker push $DOCKER_USER/pet-clinic:latest
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Testing..'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
echo 'Deploying....'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue