mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-10 12:01:11 +00:00
Update Jenkinsfile
Signed-off-by: wodnr533 <wodnr533@naver.com>
This commit is contained in:
parent
9ffe52e149
commit
3d5d5f04f4
1 changed files with 10 additions and 0 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
|
@ -1,11 +1,21 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
tools {
|
||||
maven "M3"
|
||||
jdk "JDK17"
|
||||
}
|
||||
|
||||
stages{
|
||||
stage('Git Clone'){
|
||||
steps {
|
||||
git url: 'https://github.com/wodnr533/spring-petclinic.git', branch: 'main'
|
||||
}
|
||||
}
|
||||
stage('Maven Build'){
|
||||
steps {
|
||||
sh 'mvn -Dmaven.test.failure.ignore=true clean package'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue