formation 3 سال پیش
والد
کامیت
3d7c18a7a2
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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