mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
added comma
This commit is contained in:
parent
72b32d2c07
commit
2a86a1518f
1 changed files with 9 additions and 11 deletions
20
Jenkinsfile1
20
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue