diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..f28eccb87 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,17 @@ +pipeline { + agent { label 'Master'} + triggers { pollSCM('* * * * *') } + stages{ + stage('vcs') { + steps { + git branch: 'master', + url: 'https://github.com/Bharatkumar5690/spring-petclinic.git' + } + } + stage('Build') { + steps { + sh 'mvn package' + } + } + } +}