mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Added Docker Build Stage
This commit is contained in:
parent
dcdfe6d0b9
commit
76bcebd6f1
1 changed files with 19 additions and 13 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -12,5 +12,11 @@ pipeline {
|
||||||
sh 'mvn clean install'
|
sh 'mvn clean install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Docker Build') {
|
||||||
|
agent any
|
||||||
|
steps {
|
||||||
|
sh 'docker build -t spring-petclinic:latest .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue