formation 3 năm trước cách đây
mục cha
commit
3d7c18a7a2
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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