|
|
|
@ -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);
|
|
|
|
|