public function CircleCiManagerInterface::retrieveLatestBuildsFromCircleciForEnvironment in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 modules/build_hooks_circleci/src/CircleCiManagerInterface.php \Drupal\build_hooks_circleci\CircleCiManagerInterface::retrieveLatestBuildsFromCircleciForEnvironment()
Get the latest builds from Circle CI for and environment.
Parameters
array $settings: The plugin settings array.
int $limit: Number of desired builds to retrieve.
Return value
array An array with info about the builds.
Throws
\GuzzleHttp\Exception\GuzzleException
1 method overrides CircleCiManagerInterface::retrieveLatestBuildsFromCircleciForEnvironment()
- CircleCiManager::retrieveLatestBuildsFromCircleciForEnvironment in modules/
build_hooks_circleci/ src/ CircleCiManager.php - Get the latest builds from Circle CI for and environment.
File
- modules/
build_hooks_circleci/ src/ CircleCiManagerInterface.php, line 34
Class
- CircleCiManagerInterface
- CircleCiManager interface.
Namespace
Drupal\build_hooks_circleciCode
public function retrieveLatestBuildsFromCircleciForEnvironment(array $settings, $limit = 1);