added new jenkins steps

This commit is contained in:
abhishek 2023-11-01 07:31:04 +05:30
parent 923e2b7aa3
commit 0b26b3e216

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