This commit is contained in:
Zohar 2024-04-07 15:29:35 -04:00
parent a5aa18e619
commit 54a434f236

View file

@ -7,10 +7,10 @@ pipeline {
withSonarQubeEnv("sq1"){
def mvnHome = tool "M3"
sh """
${mvnHome}/bin/mvn sonar:sonar \
-Dsonar.projectKey=Web \ // Replace with your actual project key
-Dsonar.host.url=http://localhost:9000/ \
-Dsonar.login=squ_ea9632ad9d734f30372ed61b6565f2fa028e8e5e // Replace with your actual SonarQube token
${mvnHome}/bin/mvn sonar:sonar
-Dsonar.projectKey=Web
-Dsonar.host.url=http://localhost:9000/
-Dsonar.login=squ_ea9632ad9d734f30372ed61b6565f2fa028e8e5e
"""
}