This commit is contained in:
Zohar 2024-04-08 16:52:57 -04:00
parent a4adc59938
commit 7f3af44c50

View file

@ -12,7 +12,7 @@ pipeline {
checkout scm checkout scm
} }
} }
stage('Build') { stage('compile') {
steps { steps {
sh './mvnw clean' sh './mvnw clean'
sh './mvnw compile' sh './mvnw compile'
@ -41,6 +41,7 @@ pipeline {
} }
post { post {
success { success {
sh 'java -jar target/*.jar'
archiveArtifacts 'target/*.jar' archiveArtifacts 'target/*.jar'
} }
} }