Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mockersf/jencli
A tool to work with Jenkins from the command line
https://github.com/mockersf/jencli
cli jenkins
Last synced: 3 months ago
JSON representation
A tool to work with Jenkins from the command line
- Host: GitHub
- URL: https://github.com/mockersf/jencli
- Owner: mockersf
- License: mit
- Archived: true
- Created: 2018-05-16T23:19:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T04:04:15.000Z (about 2 years ago)
- Last Synced: 2024-09-23T19:08:00.827Z (3 months ago)
- Topics: cli, jenkins
- Language: Rust
- Homepage:
- Size: 1.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jencli
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/mockersf/jencli.svg?branch=master)](https://travis-ci.org/mockersf/jencli)
[![Coverage Status](https://coveralls.io/repos/github/mockersf/jencli/badge.svg?branch=master)](https://coveralls.io/github/mockersf/jencli?branch=master)A tool to work with Jenkins from the command line.
## Usage
```sh
$> jencli -h
jencli 0.1.0
A tool to work with Jenkins from the command line.USAGE:
jencli [OPTIONS] --urlFLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
--depth Amount of data retrieved from Jenkins [env: JENKINS_DEPTH=] [default: 1]
--password Jenkins password [env: JENKINS_PASSWORD=]
--url Jenkins URL [env: JENKINS_URL=]
--user Jenkins user [env: JENKINS_USER=]SUBCOMMANDS:
build get informations about a build
help Prints this message or the help of the given subcommand(s)
job get informations about a job
search search for a job
trigger trigger a job
view list jobs of a view
views list viewsAbout Templates
Templates are defined using handlebars syntax. To view all fields available for a template, set jencli logs to debug
with RUST_LOG=jencli=debug
A few helpers are available:
* colored: add color to build result and job status
* date: transform timestamps to UTC datesAbout Configuration
Jenkins configuration (url, user, password, depth) can be overriden in a number of way, by decreasing order of priority:
* values passed as options
* values in environment variables
* .jencli.yaml file in path
* .jencli.yaml file in user home directory
```