Added jenkins file

This commit is contained in:
Sohail 2023-03-05 11:46:46 +05:30
parent 9ef6b4a3bb
commit 540638e78b

18
Jenkinsfile vendored Normal file
View 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'
}
}
}
}