mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 23:05:49 +00:00
Prova marraneta posant codi infraestructura en codi app
This commit is contained in:
parent
780cc51ced
commit
944f0ccac7
2 changed files with 19 additions and 0 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM anapsix/alpine-java
|
||||
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