From f7d9dca890ce850d6d74c288c4af4b8a6b671d68 Mon Sep 17 00:00:00 2001 From: Sohail Date: Wed, 8 Mar 2023 16:31:29 +0530 Subject: [PATCH] added comma --- Jenkinsfile1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile1 b/Jenkinsfile1 index b2f3308f1..edcb510f5 100644 --- a/Jenkinsfile1 +++ b/Jenkinsfile1 @@ -6,7 +6,7 @@ pipeline { stages { stage('vcs') { - steps { + steps{ git url: 'https://github.com/shaiksohail11/spring-petclinic.git', branch: 'main' @@ -15,13 +15,13 @@ pipeline { } stage('build') { - steps { + steps{ sh 'mvn package' } } stage('sonar analysis') { - steps { + steps{ withSonarQubeEnv('SONAR_CLOUD') { sh 'mvn clean package sonar:sonar -Dsonar.organization=jenkins12' }