StatusClient
class StatusClient
The status API allows external services to mark commits with an error, failure, pending, or success state, which is then reflected in pull requests involving those commits.
Methods
__construct(Curl $curl, string $api_url)
Status constructor.
mixed
list(string $username, string $repo, string $ref)
No description
mixed
create(string $username, string $repo, string $commit_sha, string $state = 'pending', string $target_url = 'https://ci.khs1994.com', string $context = 'continuous-integration/ci.khs1994.com/push', string $description = 'The analysis or builds is pending')
No description
mixed
listCombinedStatus($username, $repo, $ref)
获取某分支的组合状态信息.
Details
at line 24
__construct(Curl $curl, string $api_url)
Status constructor.
at line 36
mixed
list(string $username, string $repo, string $ref)
at line 51
mixed
create(string $username, string $repo, string $commit_sha, string $state = 'pending', string $target_url = 'https://ci.khs1994.com', string $context = 'continuous-integration/ci.khs1994.com/push', string $description = 'The analysis or builds is pending')
at line 93
mixed
listCombinedStatus($username, $repo, $ref)
获取某分支的组合状态信息.