mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 02:45:50 +00:00
added comma
This commit is contained in:
parent
9b7e2e40f3
commit
f7d9dca890
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ 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'
|
||||||
|
|
||||||
|
@ -15,13 +15,13 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue