承接 continuousphp/phing-tasks 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

continuousphp/phing-tasks

最新稳定版本:0.2.0

Composer 安装命令:

composer require continuousphp/phing-tasks

包简介

Phing tasks for continuousphp

README 文档

README

Build Status

Phing tasks to consume continuousphp API in a Phing build

Installation

Install this package through Composer by adding this package in the require section

"require": {
    "continuousphp/phing-tasks": "~0.1"
}

Import tasks in your build

<import file="./vendor/continuousphp/phing-tasks/tasks.xml"/>

Tasks

  1. continuousphp-config
  2. continuousphp-package

1. continuousphp-config

The goal of this task is to setup your credential in order to start consuming continuousphp API to access private data

1.1. Attributes

Name Type Description Default Required
token String A valid token to consume the API n/a Yes

1.2. Example

<continuousphp-config token="my-valid-token" />

2. continuousphp-package

This task helps you to get a package url for a repository.

2.1. Attributes

Name Type Description Default Required
provider String the repository provider platform (git-hub, bitbucket...) n/a Yes
repository String the repository name n/a Yes
reference String the GIT reference of the package n/a No
state String the allowed build states, can be "complete", "in-progress", or both complete No
destination String the Download destination for the package n/a No
property String the property in which the download URL or file path will be defined n/a No

2.2 Example

<continuousphp-package
            provider="git-hub"
            repository="continuousphp/phing-tasks"
            reference="refs/heads/master"
            property="package.url" />

Download the package by adding the destination

<continuousphp-package
            provider="git-hub"
            repository="continuousphp/phing-tasks"
            reference="refs/heads/master"
            state="in-progress,complete"
            destination="/tmp"
            property="package.path" />

统计信息

  • 总下载量: 46.88k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 8
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-05-09