diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..283849747 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +pipeline { + agent any + stages { + stage('Build') { + steps { + git 'https://github.com/aishwarya-nandapurkar/spring-petclinic.git' + + sh "./mvnw -DskipTests clean package" + + } + } + stage('Test') { + steps { + sh './mvnw test' + } + post { + always { + junit 'target/surefire-reports/*.xml' + } + } + } + } +}