|
|
@@ -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"
|
|
|
}
|
|
|
}
|