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 { 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'
}
}
} }
}
}
} }