From 05630ecab76e04bc245640cc99eb91e9a01eb65d Mon Sep 17 00:00:00 2001 From: SandeshKutwade <165891300+SandeshKutwade@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:13:37 +0530 Subject: [PATCH] Update jenkinsfiles --- jenkinsfiles | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/jenkinsfiles b/jenkinsfiles index eff695acb..2b67041ab 100644 --- a/jenkinsfiles +++ b/jenkinsfiles @@ -10,12 +10,13 @@ pipeline { steps {git url: 'https://github.com/spring-projects/spring-petclinic.git',branch: 'main' } } - } - stage('build'){ - steps { - sh 'mvn clean package' - junit testResults: '**/surefire-reports/*_xml' - archive '**/target/spring-petclinic-*.jar' + + stage('build'){ + steps { + sh 'mvn clean package' + junit testResults: '**/surefire-reports/*_xml' + archive '**/target/spring-petclinic-*.jar' + } } }