mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
added first changes in jenkinsfile
This commit is contained in:
parent
12069d49aa
commit
a904963465
1 changed files with 25 additions and 0 deletions
25
jenkinsfile
Normal file
25
jenkinsfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
pipeline{
|
||||
agent{ label 'MAVEN'}
|
||||
options{
|
||||
timeout(time: 30, unit: 'MINUTES')
|
||||
}
|
||||
triggers{ pollSCM('* * * * *')
|
||||
}
|
||||
|
||||
stages{
|
||||
stage('git'){
|
||||
steps{
|
||||
git url: 'https://github.com/Jitu123singh/dummy-repository-for-day-build.git',
|
||||
branch: 'dev'
|
||||
|
||||
}
|
||||
stage('Build'){
|
||||
steps{
|
||||
sh 'mvn clean package'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue