mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
Merge branch 'assia'
This commit is contained in:
commit
8447956cd0
1 changed files with 7 additions and 6 deletions
13
JenkinsFile
13
JenkinsFile
|
|
@ -47,18 +47,19 @@ pipeline {
|
|||
|
||||
stage('SonarQube Analysis') {
|
||||
steps {
|
||||
dir('backend') {
|
||||
dir('.') { // <-- use root directory
|
||||
sh """
|
||||
mvn sonar:sonar \
|
||||
-Dsonar.projectKey=RhitaKhadijaAssia_spring-petclinic \
|
||||
-Dsonar.organization=rhitakhadijaassia \
|
||||
-Dsonar.host.url=${SONAR_HOST} \
|
||||
-Dsonar.login=${SONAR_TOKEN}
|
||||
./mvnw sonar:sonar \
|
||||
-Dsonar.projectKey=RhitaKhadijaAssia_spring-petclinic \
|
||||
-Dsonar.organization=rhitakhadijaassia \
|
||||
-Dsonar.host.url=${SONAR_HOST} \
|
||||
-Dsonar.login=${SONAR_TOKEN}
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***stage('Build Docker on remote machine') {
|
||||
steps {
|
||||
dir('backend') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue