定制 rcrowe/phing-hipchat 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rcrowe/phing-hipchat

Composer 安装命令:

composer require rcrowe/phing-hipchat

包简介

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

README 文档

README

Build Status

A Phing task for sending messages to a HipChat room.

Installation

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

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

Example

Let Phing know about the Hipchat task:

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

Basic example

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

All attributes apart from notify and background are required.

Properties file

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

<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

$> ./vendor/bin/phpunit tests

License

phing-hippy is released under the MIT public license.

统计信息

  • 总下载量: 797
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 14
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-04-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固