|
@@ -137,9 +137,7 @@ node{
|
|
|
// }
|
|
// }
|
|
|
stage('SonarQube analysis')
|
|
stage('SonarQube analysis')
|
|
|
{
|
|
{
|
|
|
- environment {
|
|
|
|
|
- SCANNER_HOME = tool 'Sonar-scanner'
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ def scannerHome = tool 'SonarQube Scanner';
|
|
|
withSonarQubeEnv('SonarQube')
|
|
withSonarQubeEnv('SonarQube')
|
|
|
{
|
|
{
|
|
|
// If you have configured more than one global server connection, you can specify its name
|
|
// If you have configured more than one global server connection, you can specify its name
|