Differential D19085 Diff 45745 src/applications/harbormaster/step/HarbormasterHTTPRequestBuildStepImplementation.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/step/HarbormasterHTTPRequestBuildStepImplementation.php
| Show All 37 Lines | public function getDescription() { | ||||
| } | } | ||||
| } | } | ||||
| public function execute( | public function execute( | ||||
| HarbormasterBuild $build, | HarbormasterBuild $build, | ||||
| HarbormasterBuildTarget $build_target) { | HarbormasterBuildTarget $build_target) { | ||||
| $viewer = PhabricatorUser::getOmnipotentUser(); | $viewer = PhabricatorUser::getOmnipotentUser(); | ||||
| if (PhabricatorEnv::getEnvConfig('phabricator.silent')) { | |||||
| $this->logSilencedCall($build, $build_target, pht('HTTP Request')); | |||||
| throw new HarbormasterBuildFailureException(); | |||||
| } | |||||
| $settings = $this->getSettings(); | $settings = $this->getSettings(); | ||||
| $variables = $build_target->getVariables(); | $variables = $build_target->getVariables(); | ||||
| $uri = $this->mergeVariables( | $uri = $this->mergeVariables( | ||||
| 'vurisprintf', | 'vurisprintf', | ||||
| $settings['uri'], | $settings['uri'], | ||||
| $variables); | $variables); | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||