Skip to content

abrochard/magit-circleci

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

MELPA

magit-circleci

Magit extension for CircleCI. See the latest builds from the Magit status buffer.

alt text

Setup

Get your token (https://circleci.com/docs/api/#add-an-api-token) and shove it as

(setq magit-circleci-token "XXXXXXXX")

or set it as environment variable CIRCLECI_TOKEN.

Usage

M-x magit-circleci-mode : to activate
C-c C-o OR RET : to visit the build at point
" : in magit status to open the CircleCI Menu
" f : to pull latest builds for the current repo

Customization

  • If you use CircleCI enterprise, you can change your host by editing magit-circleci-host.
  • By default, the extension fetches and shows the last 5 builds, you can change that by customizing the `magit-circleci-n-builds' variable.

Notice

  • Name of your local workspace folder should be same as name of the repo, for example, if repo is orgName/repoName, then the folder name should be repoName, otherwise, retrieve of build status will fail.

TODO

  • retry a build
  • cancel build
  • show build output/failure
  • request timeout
  • HTTP error handling
  • utf-8 support
  • filter builds by branch/author
  • change screenshot to show new workflows representation

About

Emacs Magit extension for CircleCI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •