Added jenkins file

Added jenkins file
This commit is contained in:
Sohail 2023-03-05 12:01:46 +05:30
parent 925b0be0ed
commit dbef79a5d8

21
Jenkinsfile vendored
View file

@ -3,16 +3,13 @@ pipeline{
triggers {
pollSCM('* * * * *')
}
stages {
stage ('vcs') {
steps {
git url: 'https://github.com/shaiksohail11/spring-petclinic.git',
branch: 'main',
sh 'mvn package'
}
}
}
stages {
stage ('vcs') {
steps {
git url: 'https://github.com/shaiksohail11/spring-petclinic.git',
branch: 'main'
sh 'mvn package'
}
}
}
}