0.1.4 • Published 4 years ago

jenkins-cli-node v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

JK is a command-line tool for Jenkins interactions to quickly release Jenkins tasks and save development time.

Install

npx jenkins-cli-node              				*# Run once.*

npm install -g jenkins-cli-node         	*# Run multiple.*

npm install --dev jenkins-cli-node       	*# Install locally* 

Quickstart

Create a .jenkins.yaml file in the user directory

## /Users/xxx/.jenkins.yaml
baseUrl: https://user:pass@jenkins.xxxxx.xxx

Command line input jk

$ jk

npm.io

CLI

OptionDescriptionExample
--config -cJenkins configuration, default values are .jenkins.yamlBy default, it is found from the current directory. If it is not found, it is found from the user's root directory.This configuration is based on https://github.com/silas/node-jenkinsbaseUrl: https://user:pass@jenkins.xxxxx.xxxcrumbIssuer: truejk -c jenkins.yaml
--rebuild -rRebuild the previous jobjk -r
--job -jJob to be executedjk -j xxx