Differential D16919 Diff 40733 src/applications/harbormaster/step/HarbormasterBuildStepImplementation.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/step/HarbormasterBuildStepImplementation.php
| Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | public function supportsWaitForMessage() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function shouldWaitForMessage(HarbormasterBuildTarget $target) { | public function shouldWaitForMessage(HarbormasterBuildTarget $target) { | ||||
| if (!$this->supportsWaitForMessage()) { | if (!$this->supportsWaitForMessage()) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| return (bool)$target->getDetail('builtin.wait-for-message'); | $wait = $target->getDetail('builtin.wait-for-message'); | ||||
| return ($wait == 'wait'); | |||||
| } | } | ||||
| protected function shouldAbort( | protected function shouldAbort( | ||||
| HarbormasterBuild $build, | HarbormasterBuild $build, | ||||
| HarbormasterBuildTarget $target) { | HarbormasterBuildTarget $target) { | ||||
| return $build->getBuildGeneration() !== $target->getBuildGeneration(); | return $build->getBuildGeneration() !== $target->getBuildGeneration(); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines | |||||