forked from lix-project/hydra
Don't create a propagated build step to the same build
This commit is contained in:
parent
7afc61691b
commit
f196967c43
|
@ -1253,7 +1253,7 @@ bool State::doBuildStep(std::shared_ptr<StoreAPI> store, Step::ptr step,
|
|||
build2->finishedInDB)
|
||||
continue;
|
||||
createBuildStep(txn, 0, build2, step, machine->sshName,
|
||||
buildStepStatus, result.errorMsg, build->id);
|
||||
buildStepStatus, result.errorMsg, build == build2 ? 0 : build->id);
|
||||
}
|
||||
|
||||
if (!cachedFailure)
|
||||
|
|
Loading…
Reference in a new issue