mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-28 18:35:49 +00:00
Added jenkins file
Added jenkins file
This commit is contained in:
parent
925b0be0ed
commit
dbef79a5d8
1 changed files with 9 additions and 12 deletions
21
Jenkinsfile
vendored
21
Jenkinsfile
vendored
|
@ -3,16 +3,13 @@ pipeline{
|
||||||
triggers {
|
triggers {
|
||||||
pollSCM('* * * * *')
|
pollSCM('* * * * *')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage ('vcs') {
|
stage ('vcs') {
|
||||||
steps {
|
steps {
|
||||||
git url: 'https://github.com/shaiksohail11/spring-petclinic.git',
|
git url: 'https://github.com/shaiksohail11/spring-petclinic.git',
|
||||||
branch: 'main',
|
branch: 'main'
|
||||||
sh 'mvn package'
|
sh 'mvn package'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue