fix(sonar): 增加sonarToken

master
youys 2 weeks ago
parent ecf6987fab
commit 94692092ff

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

Loading…
Cancel
Save