Documentation ¶
Index ¶
- Constants
- func Contains(s []int, e int) bool
- func GetCommitHash(branch string, remote bool) (string, error)
- func GetCurrentBranchName(c *components.Context) (string, error)
- func GetPipelinesBranchURL(uiBaseUrl string, pipelineName string, gitBranch string) string
- func GetPipelinesRunURL(uiBaseUrl string, pipelineName string, step string, runNumber int, ...) string
- func GetRelativeDir() (string, error)
- func GetRootDir() (string, error)
- func GetUIBaseUrl(c *components.Context) (string, error)
- type DirConfig
Constants ¶
View Source
const ( ArtifactoryPipelinesSourceId = 6 HttpClientCtxKey = "httpClient" BaseUiUrl = "baseUiUrl" BranchName = "branchName" DirConfigCtxKey = "dirConfig" ForceFlag = "forceFlag" )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentBranchName ¶
func GetCurrentBranchName(c *components.Context) (string, error)
func GetPipelinesBranchURL ¶
func GetPipelinesRunURL ¶
func GetRelativeDir ¶
func GetRootDir ¶
func GetUIBaseUrl ¶
func GetUIBaseUrl(c *components.Context) (string, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.