mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 17:05:49 +00:00
Create jenkinsfile
This commit is contained in:
parent
e7c879ed3a
commit
51d75acadb
1 changed files with 12 additions and 0 deletions
12
jenkinsfile
Normal file
12
jenkinsfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
pipeline {
|
||||
agent slave1
|
||||
stages {
|
||||
stage ('Build') {
|
||||
steps {
|
||||
echo 'Running build automation'
|
||||
sh './mvnw package'
|
||||
sh 'java -jar target/*.jar'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue