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
|
# builds as well, but we would have to send a signal or
|
||||||
# something to the build process.
|
# something to the build process.
|
||||||
|
|
||||||
$build->update({finished => 1, busy => 0, timestamp => time});
|
$build->update(
|
||||||
|
{ finished => 1, busy => 0, timestamp => time
|
||||||
$c->model('DB::BuildResultInfo')->create(
|
, iscachedbuild => 0, buildstatus => 4 # = cancelled
|
||||||
{ id => $build->id
|
|
||||||
, iscachedbuild => 0
|
|
||||||
, buildstatus => 4 # = cancelled
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue