retry with previous build parameters
This commit is contained in:
parent
b5d019acdf
commit
2006bac45c
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue