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