https://github.com/watsoncj/jc
Tail Jenkins logs in your terminal
https://github.com/watsoncj/jc
cli jenkins-ci
Last synced: 4 months ago
JSON representation
Tail Jenkins logs in your terminal
- Host: GitHub
- URL: https://github.com/watsoncj/jc
- Owner: watsoncj
- Created: 2017-04-05T16:50:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T15:32:11.000Z (over 7 years ago)
- Last Synced: 2025-04-10T21:36:20.282Z (7 months ago)
- Topics: cli, jenkins-ci
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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] [] []
jc --help
Options:
-h --help Show this help information.
-p --paginate Display output using system pager.
-u --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