Compare commits
No commits in common. "e9c42f54d29bb6cfe0d730a922597784c9fc0136" and "6e473ae62e995fde049ff91de7ca0f69b9cb8b5a" have entirely different histories.
e9c42f54d2
...
6e473ae62e
10
.drone.yml
10
.drone.yml
@ -22,15 +22,11 @@ steps:
|
|||||||
- name: sonarqube-analysis
|
- name: sonarqube-analysis
|
||||||
image: maven:3.9-eclipse-temurin-21-alpine
|
image: maven:3.9-eclipse-temurin-21-alpine
|
||||||
environment:
|
environment:
|
||||||
#SONAR_HOST_URL: ${SONARQUBE_URL} # URL de tu servidor SonarQube
|
SONAR_HOST_URL: ${SONARQUBE_URL} # URL de tu servidor SonarQube
|
||||||
#SONAR_LOGIN: ${SONARQUBE_TOKEN} # Token de autenticación en SonarQube
|
SONAR_LOGIN: ${SONARQUBE_TOKEN} # Token de autenticación en SonarQube
|
||||||
#SONAR_PROJECT_KEY: ${SONARQUBE_PROJECT_KEY} # Clave del proyecto en SonarQube
|
SONAR_PROJECT_KEY: ${SONARQUBE_PROJECT_KEY} # Clave del proyecto en SonarQube
|
||||||
SONAR_HOST_URL: http://10.0.0.126:9000 # URL de tu servidor SonarQube
|
|
||||||
SONAR_LOGIN: squ_465ae384ffda803d8e58d9ef0111bef1277c874a # Token de autenticación en SonarQube
|
|
||||||
SONAR_PROJECT_KEY: hhh # Clave del proyecto en SonarQube
|
|
||||||
commands:
|
commands:
|
||||||
- mvn sonar:sonar # Ejecuta el análisis de SonarQube usando Maven
|
- mvn sonar:sonar # Ejecuta el análisis de SonarQube usando Maven
|
||||||
- mvn clean verify sonar:sonar -DskipTests
|
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ sonar.tests=src/test/
|
|||||||
sonar.exclusions=**/controller/core/**,**/graphql/**
|
sonar.exclusions=**/controller/core/**,**/graphql/**
|
||||||
|
|
||||||
|
|
||||||
sonar.host.url=http://sonarqube:9000
|
sonar.host.url=http://10.0.0.126:9000
|
||||||
#sonar.token=squ_095e01f2e60e4d77838a5a114356927fb1c99861
|
#sonar.token=squ_095e01f2e60e4d77838a5a114356927fb1c99861
|
||||||
sonar.login=squ_465ae384ffda803d8e58d9ef0111bef1277c874a
|
sonar.login=squ_465ae384ffda803d8e58d9ef0111bef1277c874a
|
||||||
#sonar.login=sqp_249804bd04cbc7f86f7441a227ed7408b6b584ca
|
#sonar.login=sqp_249804bd04cbc7f86f7441a227ed7408b6b584ca
|
||||||
|
Loading…
x
Reference in New Issue
Block a user