retry with previous build parameters

This commit is contained in:
Brad Rydzewski 2020-07-29 19:57:28 -04:00
parent b5d019acdf
commit 2006bac45c

View file

@ -97,6 +97,9 @@ func HandleRetry(
} }
hook.Params[key] = value[0] hook.Params[key] = value[0]
} }
for key, value := range prev.Params {
hook.Params[key] = value
}
result, err := triggerer.Trigger(r.Context(), repo, hook) result, err := triggerer.Trigger(r.Context(), repo, hook)
if err != nil { if err != nil {