2017 © Pedro Peláez
 

library gitlab-ci-build-status

Simple tool to check latest commit build from GitLab CI

image

maenbn/gitlab-ci-build-status

Simple tool to check latest commit build from GitLab CI

  • Monday, April 4, 2016
  • by maen-bn
  • Repository
  • 1 Watchers
  • 1 Stars
  • 66 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

gitlab-ci-build-status

build status Build Status Code Coverage Scrutinizer Code Quality, (*1)

Simple tool to check latest commit build from GitLab CI, (*2)

Installation

The tool requires you have PHP 5.4.* + and Composer., (*3)

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

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

Then run composer install or composer update to install., (*5)

Usage

Setting up the client requires your Gitlab CI URL, Gitlab CI project ID, and Gitlab CI project token:, (*6)

$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)., (*7)

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

The Versions

04/04 2016

dev-master

9999999-dev

Simple tool to check latest commit build from GitLab CI

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ben Norcombe

continuous integration gitlab gitlab ci build status