diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..2bb7ef900 --- /dev/null +++ b/Jenkinsfile @@ -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' + + + } + + } + } +} \ No newline at end of file