diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..afcc8ab09 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,24 @@ +pipeline { + agent { label 'JDK-17-MVN-3.6' } + triggers { + cron('* * * * *') + } + stages { + stage('vcs') { + steps { + git url: 'https://github.com/satya36-cpu/spring-petclinicnew.git', + branch: 'main' + } + } + stage('build and package') { + steps { + sh 'clean package' + } + } + stage('archive results') { + steps { + junit '**/surefire-reports/*.xml' + } + } + } +} \ No newline at end of file