diff --git a/src/main/java/net/educoder/ecsonar/services/SonarService.java b/src/main/java/net/educoder/ecsonar/services/SonarService.java index e2a87d2..8a3b5cd 100644 --- a/src/main/java/net/educoder/ecsonar/services/SonarService.java +++ b/src/main/java/net/educoder/ecsonar/services/SonarService.java @@ -61,6 +61,7 @@ public class SonarService { "-Dsonar.sourceEncoding=utf-8 " + "-Dsonar.projectKey=" + param.getProjectKey() + " " + "-Dsonar.java.binaries=./ " + + "-Dsonar.login=" + sonarToken + "-Dsonar.projectBaseDir=" + param.getProjectPath(); SystemUtil.ExecuteResp executeResp = SystemUtil.executeAndGetExitStatus(command);