Add a 'step_started' notification

This commit is contained in:
Eelco Dolstra 2019-08-12 17:34:01 +02:00
parent 72c36373bb
commit d08cfa48d7
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -268,6 +268,9 @@ unsigned int State::createBuildStep(pqxx::work & txn, time_t startTime, BuildID
("insert into BuildStepOutputs (build, stepnr, name, path) values ($1, $2, $3, $4)")
(buildId)(stepNr)(output.first)(output.second.path).exec();
if (status == bsBusy)
txn.exec(fmt("notify step_started, '%d\t%d'", buildId, stepNr));
return stepNr;
}