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

7
Jenkinsfile vendored
View file

@ -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 {
}
}
}
}
}
}