added comma

This commit is contained in:
Sohail 2023-03-08 16:39:11 +05:30
parent 72b32d2c07
commit 2a86a1518f

View file

@ -6,24 +6,22 @@ pipeline {
stages { stages {
stage('vcs') { stage('vcs') {
steps{ steps{
git url: 'https://github.com/shaiksohail11/spring-petclinic.git', git url: 'https://github.com/shaiksohail11/spring-petclinic.git',
branch: 'main' branch: 'main'
} }
} }
} }
stage('build') { stage('build') {
steps{ steps{
sh "mvn package" sh "mvn package"
} }
} }
stage('sonar analysis') { stage('sonar analysis') {
steps{ steps{
withSonarQubeEnv('SONAR_CLOUD') { withSonarQubeEnv('SONAR_CLOUD') {
sh 'mvn clean package sonar:sonar -Dsonar.organization=jenkins12' sh 'mvn clean package sonar:sonar -Dsonar.organization=jenkins12'
} }
} }
} }