2017 © Pedro Peláez
 

library phing-hipchat

Send messages to a Hipchat room from your Phing build file.

image

rcrowe/phing-hipchat

Send messages to a Hipchat room from your Phing build file.

  • Friday, July 12, 2013
  • by rcrowe
  • Repository
  • 2 Watchers
  • 14 Stars
  • 467 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

phing-hipchat

Build Status, (*1)

A Phing task for sending messages to a HipChat room., (*2)

Installation

The preferred way of installation is through Composer. Add rcrowe\phing-hipchat as a requirement to composer.json:, (*3)

{
    "require": {
        "rcrowe/phing-hipchat": "0.1.*"
    }
}

Example

Let Phing know about the Hipchat task:, (*4)

<taskdef name="hipchat" classname="rcrowe\Hippy\PhingTask" />

Basic example, (*5)

<hipchat
    token="23k4l4jkl234jl234kl24"
    room="Hippy"
    from="Rob Crowe"
    notify="false"
    background="green"
    msg="build passed" />

All attributes apart from notify and background are required., (*6)

Properties file, (*7)

You can also define the attributes as properties (I like to keep mine in a properties file)., (*8)

<property name="hipchat.token" value="23k4l4jkl234jl234kl24" />
<property name="hipchat.room" value="Hippy" />
<property name="hipchat.from" value="Build Bot" />
<property name="hipchat.notify" value="true" />
<property name="hipchat.background" value="random" />

<hipchat html="<a>Build failed</a>" />

<hipchat>
    <queue msg="Test 1" />
    <queue msg="Test 2" />
    <queue msg="Test 3" />
</hipchat>

Tests

To run all tests, (*9)

$> ./vendor/bin/phpunit tests

License

phing-hippy is released under the MIT public license., (*10)

The Versions

12/07 2013

dev-master

9999999-dev https://github.com/rcrowe/phing-hipchat

Send messages to a Hipchat room from your Phing build file.

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat phing

07/04 2013

0.1.0

0.1.0.0 https://github.com/rcrowe/phing-hipchat

Send messages to a Hipchat room from your Phing build file.

  Sources   Download

MIT

The Requires

 

The Development Requires

message notification hipchat chat phing