Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hhatto/jc
command-line tool for jenkins-ci
https://github.com/hhatto/jc
Last synced: 2 months ago
JSON representation
command-line tool for jenkins-ci
- Host: GitHub
- URL: https://github.com/hhatto/jc
- Owner: hhatto
- Created: 2014-01-09T17:46:30.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-08-09T10:02:38.000Z (over 6 years ago)
- Last Synced: 2024-05-09T21:57:02.504Z (8 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jc [![Build Status](https://travis-ci.org/hhatto/jc.png?branch=master)](https://travis-ci.org/hhatto/jc)
jenkins cli
![jc](https://i.gyazo.com/eedd8d82131d080fd0eae3dd02ac00d8.png)
## Installation
```
$ go get github.com/hhatto/jc
```## Usage
### configuration
```sh
$ jc conf https://ci.jenkins-ci.org/
$ jc conf -n mydomain --add http://jenkins.mydomain.com/
```jc's config file saves in `$HOME/.config/jc`
```sh
$ cat $HOME/.config/jc
{
"hosts": [
{
"name": "default",
"hostname": "https://ci.jenkins-ci.org/"
},
{
"name": "mydomain",
"hostname": "http://jenkins.mydomain.com/"
}
]
}
```### print job status
```sh
$ jc jobs
default - http://jenkins.hexacosa.net/
✔ ☁ autopep8
✔ ☁ genzshcomp
✔ ☁ gruffy
✔ ☁ pgmagick
```### print server status
```sh
$ jc status -n mydomain
```![jc staus](https://i.gyazo.com/c719fdb2bf487a025a9f4f8e2a2567f3.png)
## License
MIT