|
@@ -67,7 +67,7 @@ public class SonarJavaImageBuildHandler extends AbstractHandler {
|
|
|
String repoUrl = project.getGitRemoteUrl();
|
|
String repoUrl = project.getGitRemoteUrl();
|
|
|
// convert url for local test
|
|
// convert url for local test
|
|
|
UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(repoUrl);
|
|
UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(repoUrl);
|
|
|
- repoUrl = builder.scheme("https").host("seecoder-gitlab-gitlab.seec.seecoder.cn").path(".git/").toUriString();
|
|
|
|
|
|
|
+ repoUrl = builder.scheme("http").host("gitlab.internal-paas.seec.seecoder.cn").path(".git/").toUriString();
|
|
|
BranchVO branch = branchService.getBranchByName(projectId, branchOrHash);
|
|
BranchVO branch = branchService.getBranchByName(projectId, branchOrHash);
|
|
|
String commitHash;
|
|
String commitHash;
|
|
|
boolean isBranch;
|
|
boolean isBranch;
|