No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
lib
locales
spec
templates
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
lita-circletime.gemspec

README.md

lita-circletime

Build Status

This gem let to share CircleCI's amount of build time to channel member by Lita.

Free plan of CircleCI limit is 1,500 min build time. So sometimes we want to know how many spend build time already.

Installation

Add lita-circletime to your Lita instance's Gemfile:

gem "lita-circletime"

Configuration

Set your CircleCI access token to .env file like a following

.env

CIRCLE_CI_TOKEN='your access token'

or set token to environment valiable. Valiable name is same to CIRCLE_CI_TOKEN

Usage

first step : set target organization name

org <organization name>

you can get build time

  • org get current org name
  • build today get today's amount of build time
  • build yestaday get yestaday's amount of build time
  • build week get this week amount of build time
  • build month get this month amount of build time