Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvKey = "CIRCLECI" Integration = "circleci" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ci ¶
type Ci struct{}
func (Ci) MapRepositoryUrl ¶
MapRepositoryUrl returns the repository url according to the following rules:
- If circleCiRepo starts with "http(s)://", use it as the repo url.
- If circleCiRepo is of the form "git@github.com:organisation/reponame.git", rewrite and use "https://github.com/organisation/reponame" as repo url.
- return circleCiRepo
Click to show internal directories.
Click to hide internal directories.