Update Jenkinsfile

This commit is contained in:
mMate89 2023-05-04 13:02:53 +02:00 committed by GitHub
parent 23d2458636
commit edba952030
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
Jenkinsfile vendored
View file

@ -1,11 +1,17 @@
pipeline {
agent { label 'worker1' }
stages {
stage('Current dir') {
steps {
sh 'pwd'
}
}
stage('Build') {
steps {
sh 'mvn clean install'
}
}
stage('Docker Build') {
steps {
sh 'docker build -t spring-petclinic:latest .'