Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattddowney/jenk-bash
Interact with the Jenkins API from bash
https://github.com/mattddowney/jenk-bash
api-client bash cli command-line continuous-integration jenkins pipeline
Last synced: 15 days ago
JSON representation
Interact with the Jenkins API from bash
- Host: GitHub
- URL: https://github.com/mattddowney/jenk-bash
- Owner: mattddowney
- License: mit
- Created: 2017-04-23T04:58:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T16:46:09.000Z (over 7 years ago)
- Last Synced: 2024-11-12T09:27:39.115Z (2 months ago)
- Topics: api-client, bash, cli, command-line, continuous-integration, jenkins, pipeline
- Language: Shell
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jenk-bash
=========There is a newer version of this software written in go [here](https://github.com/mattddowney/jenk)
Interact with the [Jenkins](https://jenkins.io/) API from bash.
Copy jobs, create pipelines, and trigger pipeline inputs.
Setup:
------Set the following environment variables:
* JENKINS_ROOT_URL - The url of the Jenkins server (IE: http://localhost:8080)
* JENKINS_USER_NAME - Jenkins user with API access
* JENKINS_TOKEN - Access token obtained from Jenkins (http://localhost:8080/me/configure)Usage:
------```
$ ./jenk
./jenk is a tool for interacting with the Jenkins API.Usage:
./jenk command [arguments]
The commands are:
abort-input abort a pipeline input
copy-job copy a job from another
create-job create a job
env print environment information
trigger-input trigger a pipeline inputUse "./jenk help [command]" for more information about a command.
```