diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..72b52e3f5 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +node { + + stage('SCM') { + // git clone + git 'https://github.com/GitPracticeRepo/spring-petclinic.git' + } + + stage ('build the packages') { + // mvn package + sh 'mvn package' + } + + stage('show test results') { + junit 'target/surefire-reports/*.xml' + } + + stage ('archival') { + // archiving artifacts + archive 'target/*.jar' + } + +} \ No newline at end of file