diff --git a/src/hydra-queue-runner/queue-monitor.cc b/src/hydra-queue-runner/queue-monitor.cc index 8504a87f..4ff1a16a 100644 --- a/src/hydra-queue-runner/queue-monitor.cc +++ b/src/hydra-queue-runner/queue-monitor.cc @@ -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; }