formation пре 3 година
родитељ
комит
55448aa6cf
1 измењених фајлова са 1 додато и 3 уклоњено
  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