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