|
@@ -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("http").host("environment-2-2.seec.svc.cluster.local:80").path(".git/").toUriString();
|
|
|
|
|
|
|
+ repoUrl = builder.scheme("http").host("environment-2-2.seec.svc.cluster.local").path(".git/").toUriString();
|
|
|
BranchVO branch = branchService.getBranchByName(projectId, branchOrHash);
|
|
BranchVO branch = branchService.getBranchByName(projectId, branchOrHash);
|
|
|
String commitHash;
|
|
String commitHash;
|
|
|
boolean isBranch;
|
|
boolean isBranch;
|