https://github.com/node-ci/nci-shields
Pretty svg status shields plugin for nci https://github.com/node-ci/nci
https://github.com/node-ci/nci-shields
Last synced: 6 months ago
JSON representation
Pretty svg status shields plugin for nci https://github.com/node-ci/nci
- Host: GitHub
- URL: https://github.com/node-ci/nci-shields
- Owner: node-ci
- License: mit
- Created: 2016-06-09T18:29:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-28T19:27:42.000Z (over 8 years ago)
- Last Synced: 2025-07-04T10:43:51.405Z (7 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nci-shields
[](https://travis-ci.org/node-ci/nci-shields)
Pretty svg status shields plugin for [nci](https://github.com/node-ci/nci)
## Dependencies
[nci-express](https://github.com/node-ci/nci-express)
## Installation
```sh
npm install nci-shields
```
## Usage
Add this plugin to the `plugins` section at server config
```yml
plugins:
#express plugin should be included before shields plugin
- nci-express
- nci-shields
```
after that you can get status shields:
* `http://localhost:3000/shields/:projectName.svg` for project
* `http://localhost:3000/shields/builds/:id.svg` for build
* `http://localhost:3000/shields/:projectName/revs/:rev.svg` for project revision
(any scm revision, tag, branch that was selected as target for the build)
## Legal
Shields generated with [shields.io](http://shields.io/)
## License
[The MIT License](https://raw.githubusercontent.com/node-ci/nci-shields/master/LICENSE)