mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
added new jenkins steps
This commit is contained in:
parent
923e2b7aa3
commit
0b26b3e216
1 changed files with 17 additions and 0 deletions
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
pipeline{
|
||||
agent{ label 'AGENT'}
|
||||
triggers{pollSCM ('* * * * *')}
|
||||
stages{
|
||||
stage('VCS'){
|
||||
steps{
|
||||
git url : 'https://github.com/Abhishek16tiwary/spring-petclinic.git',
|
||||
branch : main
|
||||
}
|
||||
}
|
||||
stage('Build'){
|
||||
steps{
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue