copy cron job name when re-startinga build #2760

This commit is contained in:
Brad Rydzewski 2019-09-03 16:07:30 -07:00
parent 30ca88b9e6
commit 9ac8aa26c8
2 changed files with 4 additions and 0 deletions

View file

@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Support for basic auth as an option for Gitea, by [@techknowlogick](https://giteahub.com/techknowlogick). [#2721](https://github.com/drone/drone/issues/2721)
### Fixed
- copy cron job name when restarting a cron job, by [@bradrydzewski](https://github.com/bradrydzewski). [#2760](https://github.com/drone/drone/issues/2760).
## [1.3.1] - 2019-08-26
### Added
- support for the GitHub deployment status API, by [@bradrydzewski](https://github.com/bradrydzewski).

View file

@ -83,6 +83,7 @@ func HandleRetry(
AuthorAvatar: prev.AuthorAvatar,
Deployment: prev.Deploy,
DeploymentID: prev.DeployID,
Cron: prev.Cron,
Sender: prev.Sender,
Params: map[string]string{},
}