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 {
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'
}
}
}