2017 © Pedro Peláez
 

library jenkins

Jenkins API

image

carlosio/jenkins

Jenkins API

  • Thursday, July 31, 2014
  • by carlosbuenosvinos
  • Repository
  • 3 Watchers
  • 23 Stars
  • 13,809 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 1 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

CarlosIO\Jenkins

Build Status, (*1)

CarlosIO\Jenkins is a Jenkins API written in PHP for PHP 5.3+. It has been born for Dashboard and extreme feedback purposes., (*2)

At this time, it has support for the following:, (*3)

  • Integrating different Jenkins information
  • Accessing to:
    • Jobs
    • ChangeSets
    • Changes
    • Authors
    • Properties

Requiring in another project

Using composer:, (*4)

    "require": {
        "carlosio/jenkins": "dev-master"
    }

Usage

Usage is fairly straightforward,, (*5)

<?php
    require_once __DIR__ . '/../vendor/autoload.php';

    use CarlosIO\Jenkins\Dashboard;
    use CarlosIO\Jenkins\Source;

    $dashboard = new Dashboard();
    $dashboard->addSource(new Source('http://ci.jenkins-ci.org/view/All/api/json/?depth=2'));
    // Add as many sources as you want
    // ...

    print_r($dashboard->getJobs());

If you need user authentication, you just have to set your source URL like, (*6)

$dashboard->addSource(new Source('http://user:password@ci.jenkins-ci.org/view/All/api/json/?depth=2'));

The Versions

31/07 2014

dev-master

9999999-dev https://github.com/carlosbuenosvinos/php-jenkins-api

Jenkins API

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

api jenkins

22/04 2014

1.1.0

1.1.0.0 https://github.com/carlosbuenosvinos/php-jenkins-api

Jenkins API

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

api jenkins

07/07 2012

1.0.0

1.0.0.0 https://github.com/Emagister/php-jenkins-api

Jenkins API

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

api jenkins