Update Jenkinsfile

This commit is contained in:
Oleksandr Butenko 2021-06-13 13:49:47 +03:00 committed by GitHub
parent b01467cb77
commit 1e7b5c7810
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
Jenkinsfile vendored
View file

@ -5,6 +5,7 @@ pipeline {
steps { steps {
echo 'Running build automation' echo 'Running build automation'
sh './mvnw package' sh './mvnw package'
archiveArtifacts artifacts: '/trainSchedule.zip'
} }
} }
stage('Build Docker Image') { stage('Build Docker Image') {
@ -13,9 +14,9 @@ pipeline {
} }
steps { steps {
script { script {
app = docker.build("sprientera/pets") app = docker.build("sprientera/pet")
app.inside { app.inside {
sh 'echo $(curl localhost:80)' sh 'echo $(curl localhost:8080)'
} }
} }
} }