From f196967c4347241894001d720e2775423f18f817 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 19 Jun 2015 15:33:37 +0200 Subject: [PATCH] Don't create a propagated build step to the same build --- src/hydra-queue-runner/hydra-queue-runner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index ce725592..2e7ee9d5 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -1253,7 +1253,7 @@ bool State::doBuildStep(std::shared_ptr 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)