forked from lix-project/hydra
Merge pull request #382 from shlevy/cached-build-notifications
Send BuildFinished notifications on cached build results.
This commit is contained in:
commit
8771f7f913
|
@ -193,6 +193,8 @@ bool State::getQueuedBuilds(Connection & conn,
|
|||
nrBuildsDone++;
|
||||
}
|
||||
|
||||
enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -225,6 +227,8 @@ bool State::getQueuedBuilds(Connection & conn,
|
|||
|
||||
build->finishedInDB = true;
|
||||
|
||||
enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue