diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..dab01b421 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,15 @@ +node { + +stage('SCM') { + //git clone + git 'https://github.com/spring-projects/spring-petclinic.git' + } + stage ('build the packages') { + //mvn package + sh 'mvn package' + } + stage ('archival') { + //archiving artifacts + archive 'target/*.jar' + } + }