hubot-circleci
Hubot CircleCI integration
Last updated 5 years ago by dylanlingelbach .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-circleci 
SYNC missed versions from official npm registry.

hubot-circleci

Hubot CircleCI integration - get status and control CircleCI from hubot

Config

Variable Description
HUBOT_CIRCLECI_TOKEN (Required) CircleCI API Token (can be added here)
HUBOT_GITHUB_ORG (Optional) Sets a default GitHUb organization so you can specify a repo without the preceeding organization name
HUBOT_CIRCLECI_HOST (Optional) CircleCI host (default is circleci.com). If use CircleCI enterprise, be able to override by this value.

Commands

  • hubot circle me <user>/<repo> [branch] - Returns the build status of https://circleci.com/user/repo, defaults to master
  • hubot circle last <user>/<repo> [branch] - Returns the build status of the last complete build of https://circleci.com/user/repo, defaults to master
  • hubot circle retry <user>/<repo> [last | build number] - Retries the specified build or the last build of master
  • hubot circle cancel <user>/<repo> [build number] - Cancels the specified build
  • hubot circle clear <user>/<repo> - Clears the cache for the specified repo
  • hubot circle retry all <failed>/<success> - Retries all projects that match either failed or success status. Requires HUBOT_GITHUB_ORG
  • hubot circle clear all - Clears the cache for all projects. Requires HUBOT_GITHUB_ORG
  • hubot circle list <failed>/<success> - Lists all failed/success builds for a given project.

Notes

You can add an API token at https://circleci.com/account/api.

Commands retry all and clear all are scoped to the API key provided with HUBOT_CIRCLECI_TOKEN. This API key is linked to the user account that creates it, and these actions will run on all projects this user is following.

Author

dylanlingelbach

Current Tags

  • 0.8.1                                ...           latest (5 years ago)

9 Versions

  • 0.8.1                                ...           5 years ago
  • 0.7.1                                ...           5 years ago
  • 0.6.1                                ...           5 years ago
  • 0.5.1                                ...           6 years ago
  • 0.4.2                                ...           6 years ago
  • 0.4.1                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 9
Dependencies (1)
Dev Dependencies (4)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |