maenbn/gitlab-ci-build-status 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maenbn/gitlab-ci-build-status

Composer 安装命令:

composer require maenbn/gitlab-ci-build-status

包简介

Simple tool to check latest commit build from GitLab CI

README 文档

README

build status Build Status Code Coverage Scrutinizer Code Quality

Simple tool to check latest commit build from GitLab CI

Installation

The tool requires you have PHP 5.4.* + and Composer.

The get the latest version of gitlab-ci-build-status, add the following line to your composer.json file:

"maenbn/gitlab-ci-build-status": "dev-master"

Then run composer install or composer update to install.

Usage

Setting up the client requires your Gitlab CI URL, Gitlab CI project ID, and Gitlab CI project token:

$client = new \Maenbn\GitlabCiBuildStatus\Client('https://gitlab.example.com/api/v3' 'project_id', 'my_private_token');

Then you can grab the status. You can also specify a branch (defaults to master).

$status = $client->getStatus('my_current_patch');

统计信息

  • 总下载量: 69
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-15