mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Adding the commit message to the build
This commit is contained in:
parent
70ebb097c8
commit
7a5cf50b3d
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func convertPushHook(hook *internal.PostHook) *model.Build {
|
|||
Commit: hook.RefChanges[0].ToHash, // TODO check for index value
|
||||
//Link: TODO find link
|
||||
Branch: strings.Split(hook.RefChanges[0].RefID, "refs/heads/")[1], //TODO figure the correct for tags
|
||||
//Message: TODO find the message for the commit
|
||||
Message: hook.Changesets.Values[0].ToCommit.Message, //TODO check for index Values
|
||||
Avatar: avatarLink(hook.Changesets.Values[0].ToCommit.Author.EmailAddress),
|
||||
Author: hook.Changesets.Values[0].ToCommit.Author.EmailAddress, // TODO check for index Values
|
||||
//Timestamp: TODO find time parsing
|
||||
|
|
Loading…
Reference in a new issue