From 5ee02d5957df92733885211d2ba66afd75419640 Mon Sep 17 00:00:00 2001 From: youys <1272586223@qq.com> Date: Thu, 13 Jan 2022 11:33:46 +0800 Subject: [PATCH] test --- .../java/net/educoder/ecsonar/services/SonarService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/educoder/ecsonar/services/SonarService.java b/src/main/java/net/educoder/ecsonar/services/SonarService.java index c1eef9b..8c307a7 100644 --- a/src/main/java/net/educoder/ecsonar/services/SonarService.java +++ b/src/main/java/net/educoder/ecsonar/services/SonarService.java @@ -36,8 +36,8 @@ public class SonarService { @Value("${sonar.url}") String sonarUrl; - @Value("${sonar.token}") - String sonarToken; +// @Value("${sonar.token}") +// String sonarToken; @Value("${extract.path}") String extractProgramPath; @@ -124,7 +124,7 @@ public class SonarService { "-Dsonar.host.url=" + sonarUrl + " " + "-Dsonar.sourceEncoding=utf-8 " + "-Dsonar.projectKey=" + key + " " + - "-Dsonar.login=" + sonarToken + " " + +// "-Dsonar.login=" + sonarToken + " " + "-Dsonar.java.binaries=./ " + "-Dsonar.projectBaseDir=" + projectPath; log.info("projectPath:{},key:{}, command: {}", projectPath,key, command);