formation há 3 anos atrás
pai
commit
55448aa6cf
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      Jenkinsfile

+ 1 - 3
Jenkinsfile

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