mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
Merge a7c0221188
into 0962ed7e8f
This commit is contained in:
commit
fd23c1c675
2 changed files with 23 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM anapsix/alpine-java
|
||||
LABEL maintainer="nareshkalluri.99@gmail.com"
|
||||
COPY /target/spring-petclinic-1.5.1.jar /home/spring-petclinic-1.5.1.jar
|
||||
FROM anapsix/alpine-java
|
||||
LABEL maintainer="shanem@liatrio.com"
|
||||
COPY /target/spring-petclinic-1.5.1.jar /home/spring-petclinic-1.5.1.jar
|
||||
CMD ["java","-jar","/home/spring-petclinic-1.5.1.jar"]
|
16
Jenkinsfile
vendored
Normal file
16
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!groovy
|
||||
pipeline {
|
||||
agent none
|
||||
stages {
|
||||
stage('Maven Install') {
|
||||
agent {
|
||||
docker {
|
||||
image 'maven:3.5.0'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'mvn clean install'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue