diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..14c9c93b4 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,11 @@ +node('build-jdk17-mvn3.9.4_1') { + stage('git') { + git 'https://github.com/Gitprasannag17/spring-petclinic-pras.git' + } + stage('build') { + sh 'mvn clean package' + } + stage('archive') { + archiveArtifacts artifacts: 'target/*.jar', followSymlinks: false + } +} \ No newline at end of file