diff --git a/src/hydra-queue-runner/queue-monitor.cc b/src/hydra-queue-runner/queue-monitor.cc index 3b3fb997..8a904b03 100644 --- a/src/hydra-queue-runner/queue-monitor.cc +++ b/src/hydra-queue-runner/queue-monitor.cc @@ -192,6 +192,8 @@ bool State::getQueuedBuilds(Connection & conn, ref localStore, nrBuildsDone++; } + enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id}); + return; } @@ -224,6 +226,8 @@ bool State::getQueuedBuilds(Connection & conn, ref localStore, build->finishedInDB = true; + enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id}); + return; }