diff --git a/services/tasks/alert.go b/services/tasks/alert.go index 87a975fb..4b2d2b23 100644 --- a/services/tasks/alert.go +++ b/services/tasks/alert.go @@ -366,8 +366,6 @@ func (t *TaskRunner) alertInfos() (string, string) { version = *t.Task.Version } else if t.Task.GetIncomingVersion(t.pool.store) != nil { version = "build " + *t.Task.GetIncomingVersion(t.pool.store) - } else if t.Task.BuildTaskID != nil { - version = "build " + strconv.Itoa(*t.Task.BuildTaskID) } else { version = "" }