From ddc18be9cd90949567f3149e5333c13ff66acd47 Mon Sep 17 00:00:00 2001 From: Srinath Date: Thu, 3 Jun 2021 21:50:59 +0530 Subject: [PATCH] Jenkins --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ac4bd19a3..68c644dca 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,17 +1,17 @@ node { - stage('git springpetclinic'){ + stage ('git springpetclinic') { //git clone git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git' } - stage('package the spring'){ - //maven package + stage ('package the spring') { + //maven package sh 'mvn package' } - stage('archival'){ + stage ('archival') { //archiving artifactory archive 'target/*.jar' } - stage('test result'){ + stage ('test result') { junit 'target/surefire-reports/*.xml' }