2017 © Pedro Peláez
 

library bamboo-api-client

A REST API client for Atlassian Bamboo

image

peterjmit/bamboo-api-client

A REST API client for Atlassian Bamboo

  • Saturday, May 31, 2014
  • by peterjmit
  • Repository
  • 2 Watchers
  • 0 Stars
  • 60 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Bamboo REST API client

An API client consuming the [REST resources][1] made available for Atlassian's CI software - Bamboo, (*1)

Installation

Add this line to your composer.json file, and run composer update, (*2)

"peterjmit/bamboo-api-client": "~0.1.0"

Usage

Create an API client using http basic authentication, (*3)

<?php
use  Peterjmit\Bamboo\Bamboo;

$bamboo = Bamboo::create('bamboo.com', 'username', 'password');

Specify an API version, (*4)

<?php
$bamboo = Bamboo::create('bamboo.com', 'username', 'password', 1);

Methods

Get all build results, (*5)

<?php
$bamboo->getAllBuildResults();

Get build results for a plan, (*6)

<?php
$bamboo->getPlanResults('AN', 'EXAMPLE');

Get build results for a plan branch, (*7)

<?php
$bamboo->getPlanBranchResults('AN', 'EXAMPLE', 'my-cool-feature-branch');

Get plan information for a specific branch, (*8)

<?php
$bamboo->getPlanBranch('AN', 'EXAMPLE', 'my-cool-feature-branch');

Todo

  • Implement all [endpoints/resources][1]
  • Create objects to represent resources
  • Utilize "expand" functionality in bamboo
  • Use HATEOS links to load relations to returned objects

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

The Versions

31/05 2014

dev-master

9999999-dev

A REST API client for Atlassian Bamboo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Peter Mitchell

31/05 2014

0.1.1

0.1.1.0

A REST API client for Atlassian Bamboo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Peter Mitchell

08/04 2014

0.1.0

0.1.0.0

A REST API client for Atlassian Bamboo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Peter Mitchell