diff --git a/Jenkins b/Jenkins new file mode 100644 index 000000000..1cddf2da5 --- /dev/null +++ b/Jenkins @@ -0,0 +1,22 @@ +pipeline{ + agent{label "MAVEN"} + options{ + timeout (time: 30,unit:'MINUTES') + } + tiggers{ + pollSCM('* * * * *') + } + stages{ + stage ('git') { + step { + git url :'https://github.com/dhille98/spring-petclinic.git' + branch:'dev' + } + } + stage('bulid') { + steps { + sh 'mvn clean package' + } + } + } +} \ No newline at end of file