formation hace 3 años
padre
commit
3d7c18a7a2
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      Jenkinsfile

+ 3 - 1
Jenkinsfile

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