public function setForceBuildableUpdate($force_buildable_update)
$force_buildable_update |
wild |
public function shouldForceBuildableUpdate()
wild |
public function queueNewBuildTarget($target)
HarbormasterBuildTarget | $target |
wild |
public function getNewBuildTargets()
wild |
public function setViewer($viewer)
PhabricatorUser | $viewer |
wild |
public function getViewer()
wild |
public function setBuild($build)
HarbormasterBuild | $build |
wild |
public function getBuild()
wild |
public function continueBuild()
wild |
private function updateBuild($build)
HarbormasterBuild | $build |
wild |
private function updateBuildSteps($build)
HarbormasterBuild | $build |
wild |
private function releaseUnusedArtifacts($targets, $steps)
Release any artifacts which aren't used by any running or waiting steps.
This releases artifacts as soon as they're no longer used. This can be particularly relevant when a build uses multiple hosts since it returns hosts to the pool more quickly.
list<HarbormasterBuildTarget> | $targets | Targets in the build. |
list<HarbormasterBuildStep> | $steps | List of running and waiting steps. |
void |
private function updateWaitingTargets($targets)
Process messages which were sent to these targets, kicking applicable targets out of "Waiting" and into either "Passed" or "Failed".
list<HarbormasterBuildTarget> | $targets | List of targets to process. |
void |
public function updateBuildable($buildable)
Update the overall status of the buildable this build is attached to.
After a build changes state (for example, passes or fails) it may affect the overall state of the associated buildable. Compute the new aggregate state and save it on the buildable.
HarbormasterBuild | $buildable | The buildable to update. |
void |
public function publishBuildable($old, $new)
HarbormasterBuildable | $old | |
HarbormasterBuildable | $new |
wild |
private function releaseQueuedArtifacts()
wild |