forked from lix-project/hydra
Fix a reference to BuildResultInfo
This commit is contained in:
parent
07b3dffd20
commit
9f10c0f9c0
|
@ -411,12 +411,9 @@ sub cancel : Chained('build') PathPart Args(0) {
|
|||
# builds as well, but we would have to send a signal or
|
||||
# something to the build process.
|
||||
|
||||
$build->update({finished => 1, busy => 0, timestamp => time});
|
||||
|
||||
$c->model('DB::BuildResultInfo')->create(
|
||||
{ id => $build->id
|
||||
, iscachedbuild => 0
|
||||
, buildstatus => 4 # = cancelled
|
||||
$build->update(
|
||||
{ finished => 1, busy => 0, timestamp => time
|
||||
, iscachedbuild => 0, buildstatus => 4 # = cancelled
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue