()
| 222 | } |
| 223 | |
| 224 | func getBitbucketAPIBaseURL() string { |
| 225 | if apiURL := os.Getenv("BYTEBASE_BITBUCKET_API_BASE_URL"); apiURL != "" { |
| 226 | return apiURL |
| 227 | } |
| 228 | return bitbucket.APIBaseURL |
| 229 | } |
| 230 | |
| 231 | func buildBitbucketPullRequestURL(apiURL, workspace, repoSlug, pullRequestID string) (string, error) { |
| 232 | parsedURL, err := url.Parse(apiURL) |
no outgoing calls