|
|
@@ -35,10 +35,11 @@ node{
|
|
|
stage('stage 2bis'){
|
|
|
sh 'ls -ls'
|
|
|
}
|
|
|
+
|
|
|
stage('SonarQube analysis') {
|
|
|
def scannerHome = tool 'sonar_scanner';
|
|
|
|
|
|
- withSonarQubeEnv('SonarQube')
|
|
|
+ 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" }
|