mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:45:49 +00:00
Added changes
This commit is contained in:
parent
821cc06b80
commit
949f5af92d
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -23,11 +23,11 @@ pipeline {
|
|||
stage('sonar analysis') {
|
||||
steps {
|
||||
// performing sonarqube analysis with "withSonarQubeENV(<Name of Server configured in Jenkins>)"
|
||||
withSonarQubeEnv('SONAR_CLOUD'),
|
||||
withSonarQubeEnv('SONAR_CLOUD') {
|
||||
sh 'mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=nan_sonarcube'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
stage('post build') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: '**/target/spring-petclinic-3.0.0-SNAPSHOT.jar',
|
||||
|
|
Loading…
Reference in a new issue