prow/cmd/pipeline/controller.go
func sourceURL(pj prowjobv1.ProwJob) string {
	if pj.Spec.Refs == nil {
		return ""
	}
	sourceURL := pj.Spec.Refs.CloneURI
	if sourceURL == "" {
		sourceURL = fmt.Sprintf("%s.git", pj.Spec.Refs.RepoLink)
	}
	return sourceURL
}
func sourceURL(pj prowjobv1.ProwJob) string {
	if pj.Spec.Refs == nil {
		return ""
	}
	sourceURL := pj.Spec.Refs.CloneURI
	if sourceURL == "" {
		sourceURL = fmt.Sprintf("%s.git", pj.Spec.Refs.RepoLink)
	}
	return sourceURL
}
// sourceURL returns the source URL from prow jobs repository reference