mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
add .env to gitignore, modify sonarqube setting
This commit is contained in:
parent
d2a0c6711e
commit
9eaa06cec4
2 changed files with 5 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -46,3 +46,6 @@ out/
|
|||
_site/
|
||||
*.css
|
||||
!petclinic.css
|
||||
|
||||
.env
|
||||
.env.local
|
||||
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
|
@ -89,10 +89,11 @@ pipeline {
|
|||
echo 'Running SonarQube analysis...'
|
||||
withSonarQubeEnv('SonarQubeServer') {
|
||||
sh """
|
||||
mvn clean verify sonar:sonar \
|
||||
./mvnw clean verify sonar:sonar \
|
||||
-DskipTests \
|
||||
-Dsonar.projectKey=${SONAR_PROJECT_KEY} \
|
||||
-Dsonar.projectName=${PROJECT_NAME} \
|
||||
-Dsonar.projectVersion=${BUILD_NUMBER} \
|
||||
-Dsonar.host.url=${SONAR_HOST_URL} \
|
||||
-Dsonar.token=${SONAR_AUTH_TOKEN}
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue