formation 3 vuotta sitten
vanhempi
commit
55448aa6cf
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  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