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