formation 3 years ago
parent
commit
1c2c272431
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Jenkinsfile

+ 5 - 1
Jenkinsfile

@@ -141,7 +141,11 @@ node{
         withSonarQubeEnv('SonarQube') 
         { 
         // If you have configured more than one global server connection, you can specify its name
-        sh "${scannerHome}/bin/sonar-scanner -Dsonar.login=admin -Dsonar.password=azerty10"
+        sh "${scannerHome}/bin/sonar-scanner  \
+        -Dsonar.projectKey=FatboarProject \
+        -Dsonar.sources=. \
+        -Dsonar.host.url=https://sonarqube.foodgame.fr \
+        -Dsonar.login=sqp_09ee9072c917af8212864baf0f75c950afc14c64"
         }
     }