Handling some of the error in bitbucksetserver

Fixed returning the http(s) version of the clone link which had the username in it however should not to work with netrc
Quick typo fix
This commit is contained in:
Joachim Hill-Grannec
2016-06-11 18:42:55 -07:00
parent 7e5a6ec9fb
commit 2ce566483b
2 changed files with 42 additions and 13 deletions

View File

@@ -95,7 +95,7 @@ func (a *Agent) prep(w *queue.Work) (*yaml.Config, error) {
envs := toEnv(w)
w.Yaml = expander.ExpandString(w.Yaml, envs)
// inject the netrc file into the clone plugin if the repositroy is
// inject the netrc file into the clone plugin if the repository is
// private and requires authentication.
var secrets []*model.Secret
if w.Verified {