Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.03 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.03 KB

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