diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..ac4bd19a3 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,18 @@ +node { + stage('git springpetclinic'){ + //git clone + git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git' + } + stage('package the spring'){ + //maven package + sh 'mvn package' + } + stage('archival'){ + //archiving artifactory + archive 'target/*.jar' + } + stage('test result'){ + junit 'target/surefire-reports/*.xml' + } + +} \ No newline at end of file