GitXplorerGitXplorer
w

jc

public
5 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
ffabc4f756e37d5c74ee989baaffacbb9e9582a5

version 1.0.1

wwatsoncj committed 6 years ago
Unverified
dd135de1f9abbd80fd23743c04737d0935a5c5b4

Add global flag to install instructions

wwatsoncj committed 6 years ago
Unverified
12d679c2603be1dfa8112d28728acb7de068d0a1

Scope package, add installation instructions

wwatsoncj committed 6 years ago
Unverified
78f2812d9c5e33267c33167665001e9bb433334d

Rename jenkins.js to index.js

wwatsoncj committed 7 years ago
Unverified
fade0c209db9d083d79bee1e07525a009033e732

Move branch and number to positional arguments

wwatsoncj committed 7 years ago
Unverified
13e0694017c605a0c7a3bc65c7ac8eb976c6fac0

Convert argument parsing to docopt

wwatsoncj committed 7 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