Merge pull request #382 from shlevy/cached-build-notifications

Send BuildFinished notifications on cached build results.
This commit is contained in:
Eelco Dolstra 2017-03-29 18:52:20 +02:00 committed by GitHub
commit 8771f7f913

View file

@ -193,6 +193,8 @@ bool State::getQueuedBuilds(Connection & conn,
nrBuildsDone++; nrBuildsDone++;
} }
enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
return; return;
} }
@ -225,6 +227,8 @@ bool State::getQueuedBuilds(Connection & conn,
build->finishedInDB = true; build->finishedInDB = true;
enqueueNotificationItem({NotificationItem::Type::BuildFinished, build->id});
return; return;
} }