Skip to content

Commit

Permalink
Refactor bitbucket server test and improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
omerzi committed Dec 11, 2023
1 parent 4a13e4e commit ff314d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (gm *GitManager) Clone(destinationPath, branchName string) error {
transport.UnsupportedCapabilities = []capability.Capability{
capability.ThinPack,
}
log.Debug(fmt.Sprintf("Cloning <%s/%s/%s>...", gm.remoteGitUrl, gm.remoteName, GetFullBranchName(branchName)))
log.Debug(fmt.Sprintf("Cloning <%s/%s/%s>...", strings.TrimSuffix(gm.remoteGitUrl, ".git"), gm.remoteName, GetFullBranchName(branchName)))
cloneOptions := &git.CloneOptions{
URL: gm.remoteGitUrl,
Auth: gm.auth,
Expand Down

0 comments on commit ff314d5

Please sign in to comment.