README.md 4.2 KB
Newer Older
1 2
# Quick start

LinuxSuRen's avatar
LinuxSuRen 已提交
3 4
[简体中文](https://github.com/jenkins-zh/jenkins-cli/blob/master/README-zh.md)

5
## Jenkins CLI
LinuxSuRen's avatar
LinuxSuRen 已提交
6

7
[![](https://goreportcard.com/badge/jenkins-zh/jenkins-cli)](https://goreportcard.com/report/jenkins-zh/jenkins-cli) [![](https://sonarcloud.io/api/project_badges/measure?project=jenkins-zh_jenkins-cli&metric=alert_status)](https://sonarcloud.io/dashboard?id=jenkins-zh_jenkins-cli) [![](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://godoc.org/github.com/jenkins-zh/jenkins-cli) ![Sonar Coverage](https://img.shields.io/sonar/coverage/jenkins-zh_jenkins-cli?server=https%3A%2F%2Fsonarcloud.io) [![Travis](https://img.shields.io/travis/jenkins-zh/jenkins-cli.svg?logo=travis&label=build&logoColor=white)](https://travis-ci.org/jenkins-zh/jenkins-cli) [![Contributors](https://img.shields.io/github/contributors/jenkins-zh/jenkins-cli.svg)](https://github.com/jenkins-zh/jenkins-cli/graphs/contributors) [![GitHub release](https://img.shields.io/github/release/jenkins-zh/jenkins-cli.svg?label=release)](https://github.com/jenkins-zh/jenkins-cli/releases/latest) ![GitHub All Releases](https://img.shields.io/github/downloads/jenkins-zh/jenkins-cli/total) [![Docker Pulls](https://img.shields.io/docker/pulls/jenkinszh/jcli.svg)](https://hub.docker.com/r/jenkinszh/jcli/tags) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/jenkins-zh/jenkins-cli) [![Gitter](https://badges.gitter.im/jenkinsci/jenkins-cli.svg)](https://gitter.im/jenkinsci/jenkins-cli?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![HitCount](http://hits.dwyl.com/jenkins-zh/jenkins-cli.svg)](http://hits.dwyl.com/jenkins-zh/jenkins-cli)
LinuxSuRen's avatar
LinuxSuRen 已提交
8

9
Jenkins CLI allows you manage your Jenkins in an easy way. No matter if you're a plugin developer, administrator or just a regular user, it is made for you!
LinuxSuRen's avatar
LinuxSuRen 已提交
10

11
## Features
LinuxSuRen's avatar
LinuxSuRen 已提交
12 13

* Multiple Jenkins support
14 15
* Plugins management \(list, search, install, upload\)
* Job management \(search, build, log\)
16
* Configuration as Code support
J
James.Scott 已提交
17
* Open your Jenkins with a browser
18 19
* Restart your Jenkins
* Connection with proxy support
LinuxSuRen's avatar
LinuxSuRen 已提交
20

21
## Get it
LinuxSuRen's avatar
LinuxSuRen 已提交
22

J
James.Scott 已提交
23
We support Mac, Linux and Windows for now.
LinuxSuRen's avatar
LinuxSuRen 已提交
24

25
### Mac
26 27

You can use `brew` to install jcli.
28 29

```text
30
brew tap jenkins-zh/jcli
LinuxSuRen's avatar
LinuxSuRen 已提交
31 32
brew install jcli
```
LinuxSuRen's avatar
LinuxSuRen 已提交
33

34
### Linux
35

J
James.Scott 已提交
36
To install `jcli` on your Linux OS, execute the following command:
37 38

```text
39
curl -L https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz|tar xzv
40 41 42
sudo mv jcli /usr/local/bin/
```

43
### Windows
44

45
You can find the latest version [here](https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-windows-amd64.zip). Download the tar file and copy the uncompressed `jcli` directory into your system path.
46

47
### Other package managers
LinuxSuRen's avatar
LinuxSuRen 已提交
48

J
James.Scott 已提交
49
Here are other package managers:
LinuxSuRen's avatar
LinuxSuRen 已提交
50

LinuxSuRen's avatar
LinuxSuRen 已提交
51
* [Scoop](https://scoop.sh/) users can use `scoop install jcli`
LinuxSuRen's avatar
LinuxSuRen 已提交
52

53
See more about [how to download jcli](docs/book/en/download.md). You can find the download details [from here](http://somsubhra.com/github-release-stats/?username=jenkins-zh&repository=jenkins-cli).
54

55
## Get started
56

57
Read the [official document](http://jcli.jenkins-zh.cn/) for more details on how to use `jcli`.
58

59 60
Or, you can take [a live interactive course](https://www.katacoda.com/jenkins-zh/scenarios/course-jcli) of Jenkins CLI.

61
## Plugins
62 63 64

Jenkins CLI could have more features by installing a plugin for it. You can install a plugin by the following command:

65
```text
66 67 68 69 70 71
jcli config plugin fetch
jcli config plugin install account
```

All official plugins could be found at [here](https://github.com/jenkins-zh/jcli-plugins).

72
## Contribution
LinuxSuRen's avatar
LinuxSuRen 已提交
73

74
If you're interested in this project. Please go through the [contribution guide](https://github.com/jenkins-zh/jenkins-cli/tree/cb3d358df4699db11b681eb0ab9adffbfb8a7bd4/CONTRIBUTING.md). Any contributions are welcome.
LinuxSuRen's avatar
LinuxSuRen 已提交
75

76
Thanks to JetBrains for giving us the open source licence.  
77 78 79
[![goland.svg](docs/book/.gitbook/assets/goland.svg)](https://www.jetbrains.com/?from=jenkins-cli)

## Similar Projects
80

LinuxSuRen's avatar
LinuxSuRen 已提交
81
There're a few similar projects that you might be interested in:
82

LinuxSuRen's avatar
LinuxSuRen 已提交
83 84
* [jenni](https://github.com/m-sureshraj/jenni) is a Jenkins Personal Assistant

85
## Stargazers over time
LinuxSuRen's avatar
LinuxSuRen 已提交
86

LinuxSuRen's avatar
LinuxSuRen 已提交
87 88
[![Stargazers over time](https://starchart.cc/jenkins-zh/jenkins-cli.svg)](https://starchart.cc/jenkins-zh/jenkins-cli)