mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
b01467cb77
commit
1e7b5c7810
1 changed files with 25 additions and 24 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -5,6 +5,7 @@ pipeline {
|
|||
steps {
|
||||
echo 'Running build automation'
|
||||
sh './mvnw package'
|
||||
archiveArtifacts artifacts: '/trainSchedule.zip'
|
||||
}
|
||||
}
|
||||
stage('Build Docker Image') {
|
||||
|
@ -13,9 +14,9 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
script {
|
||||
app = docker.build("sprientera/pets")
|
||||
app = docker.build("sprientera/pet")
|
||||
app.inside {
|
||||
sh 'echo $(curl localhost:80)'
|
||||
sh 'echo $(curl localhost:8080)'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,5 +34,5 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue