From 2a86a1518f25258c1f3870282f237828c832d0b6 Mon Sep 17 00:00:00 2001 From: Sohail Date: Wed, 8 Mar 2023 16:39:11 +0530 Subject: [PATCH] added comma --- Jenkinsfile1 | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile1 b/Jenkinsfile1 index dc329d8db..879abb381 100644 --- a/Jenkinsfile1 +++ b/Jenkinsfile1 @@ -6,24 +6,22 @@ pipeline { stages { stage('vcs') { - steps{ - git url: 'https://github.com/shaiksohail11/spring-petclinic.git', - branch: 'main' + steps{ + git url: 'https://github.com/shaiksohail11/spring-petclinic.git', + branch: 'main' } } } - stage('build') { - steps{ - sh "mvn package" + steps{ + sh "mvn package" } } - stage('sonar analysis') { - steps{ - withSonarQubeEnv('SONAR_CLOUD') { - sh 'mvn clean package sonar:sonar -Dsonar.organization=jenkins12' - } + steps{ + withSonarQubeEnv('SONAR_CLOUD') { + sh 'mvn clean package sonar:sonar -Dsonar.organization=jenkins12' + } } }