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