1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00

Update to add the name which has a better indication for the label of what build the status is for

This commit is contained in:
Joachim Hill-Grannec 2016-08-14 12:27:53 -07:00
parent 5c7a66534d
commit 95b3a78aa9

View File

@ -153,6 +153,7 @@ func (c *Config) Status(u *model.User,r *model.Repo,b *model.Build,link string)
status := internal.BuildStatus{
State: convertStatus(b.Status),
Desc: convertDesc(b.Status),
Name: fmt.Sprintf("Drone #%d - %s", b.Number, b.Branch),
Key: "Drone",
Url: link,
}