Skip to content

hhatto/jc

Repository files navigation

jc Build Status

jenkins cli

jc

Installation

$ go get github.com/hhatto/jc

Usage

configuration

$ 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

$ cat $HOME/.config/jc
{
  "hosts": [
    {
      "name": "default",
      "hostname": "https://ci.jenkins-ci.org/"
    },
    {
      "name": "mydomain",
      "hostname": "http://jenkins.mydomain.com/"
    }
  ]
}

print job status

$ jc jobs
default - http://jenkins.hexacosa.net/
 ✔  ☁  autopep8
 ✔  ☁  genzshcomp
 ✔  ☁  gruffy
 ✔  ☁  pgmagick

print server status

$ jc status -n mydomain

jc staus

License

MIT

About

command-line tool for jenkins-ci

Resources

Stars

Watchers

Forks

Packages

No packages published