GitXplorerGitXplorer
w

jc

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
933c712ce67c8b4d652ffda057faba54bb905b0a

Add verbose flag

wwatsoncj committed 8 years ago
Unverified
d9378eccc3aee85170a4057b960973b9bcb20e34

Add known issues section.

wwatsoncj committed 8 years ago
Unverified
e8f6bd9afefe7fe4427b3827f528500172aa12d4

Fix paginate flag

wwatsoncj committed 8 years ago
Unverified
86aeda5e3a8bc74d475035df2fbb72b40271227e

Configurable delay for tailing requests.

wwatsoncj committed 8 years ago
Unverified
113fa9910ac436931b9817df0b56a00f3a767045

Fix tail

wwatsoncj committed 8 years ago
Unverified
80fe6abc02c5f277288ceaf0921a1f605e50b632

Fix indentation

wwatsoncj committed 8 years ago

README

The README file for this repository.

jc: Tail Jenkins logs in your terminal

Install

npm install -g @watsoncj/jc

Create a config file at `$HOME/.jc` with the following format:

url=https://jenkins.example.com/job/Group/job
branch=develop
delay-ms=5000

Usage

jc logs [options] [--tail | --paginate] [<branch>] [<number>]
jc --help

Options:

-h --help            Show this help information.
-p --paginate        Display output using system pager.
-u --url <url>       Jenkins base URL.
-t --tail            Tail remote logs output.
-v --verbose         Print verbose status.

For convenience, create a config file at `~/.jc` with the following format:

url=https://jenkins.example.com/job/Group/job
branch=develop
delay-ms=5000

Known Issues

  • Jenkins removes duplicate newlines in the /consoleText response. Because of this the output will not have any blank lines.

Contributing

git clone https://github.com/watsoncj/jc.git
cd jc
npm link