Added jenkinsfile pipeline

This commit is contained in:
Prasanna 2024-09-01 16:54:40 +05:30
parent 91328af12d
commit c35f58bdc8

11
Jenkinsfile vendored Normal file
View file

@ -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
}
}