mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Create Jenkinsfile
This commit is contained in:
parent
4e1f87407d
commit
da440d0296
1 changed files with 15 additions and 0 deletions
15
Jenkinsfile
vendored
Normal file
15
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
node {
|
||||||
|
|
||||||
|
stage('SCM') {
|
||||||
|
//git clone
|
||||||
|
git 'https://github.com/spring-projects/spring-petclinic.git'
|
||||||
|
}
|
||||||
|
stage ('build the packages') {
|
||||||
|
//mvn package
|
||||||
|
sh 'mvn package'
|
||||||
|
}
|
||||||
|
stage ('archival') {
|
||||||
|
//archiving artifacts
|
||||||
|
archive 'target/*.jar'
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue