Added 'user_id' column to 'build' table (created by)
+ Renamed columns 'created' -> 'create_date', 'started' -> 'start_date' and 'finished' -> 'finish_date' + Code style fixes.
This commit is contained in:
parent
58b23fe89d
commit
4ec6d854c2
29 changed files with 550 additions and 661 deletions
|
|
@ -185,7 +185,7 @@ class Builder implements LoggerAwareInterface
|
|||
}
|
||||
|
||||
// Update the build in the database, ping any external services.
|
||||
$this->build->setStarted(new \DateTime());
|
||||
$this->build->setStartDate(new \DateTime());
|
||||
$this->store->save($this->build);
|
||||
$this->build->sendStatusPostback();
|
||||
$success = true;
|
||||
|
|
@ -256,7 +256,7 @@ class Builder implements LoggerAwareInterface
|
|||
|
||||
// Update the build in the database, ping any external services, etc.
|
||||
$this->build->sendStatusPostback();
|
||||
$this->build->setFinished(new \DateTime());
|
||||
$this->build->setFinishDate(new \DateTime());
|
||||
|
||||
$removeBuilds = (bool)Config::getInstance()->get('php-censor.build.remove_builds', true);
|
||||
if ($removeBuilds) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue