formation 5 yıl önce
ebeveyn
işleme
efce2ffa16
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      Jenkinsfile

+ 3 - 2
Jenkinsfile

@@ -35,13 +35,14 @@ node{
     stage('stage 2bis'){
         sh 'ls -ls'
     }
-    
+
     stage('SonarQube analysis') { 
         def scannerHome = tool 'sonar_scanner'; 
         
         withSonarQubeEnv('FatboarSonar') 
         {
              // 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=admin" } 
+             //sh "${scannerHome}/bin/sonar-scanner -Dsonar.login=admin -Dsonar.password=admin" } 
+             sh "${scannerHome}/bin/sonar-scanner -Dsonar.projectKey=Fatboar_project -Dsonar.sources=. -Dsonar.host.url=https://sonarqube.foodgame.fr Dsonar.login=f4a88fa94b549a727590e4bfec05cdf96af54825"
         }
 }