jenkins-cli

command module
v0.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 1 Imported by: 0

README

简体中文

Jenkins CLI

Go Report Card Quality Gate Status GoDoc Sonar Coverage Travis Contributors GitHub release GitHub All Releases Docker Pulls GitHub code size in bytes Gitter

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!

Features

  • Multiple Jenkins support
  • Plugins management (list, search, install, upload)
  • Job management (search, build, log)
  • Open your Jenkins with a browser
  • Restart your Jenkins
  • Connection with proxy support

Get it

We support Mac, Linux and Windows for now.

Mac

You can use brew to install jcli.

brew tap jenkins-zh/jcli
brew install jcli

Linux

To install jcli on your Linux OS, execute the following command:

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

Windows

You can find the latest version here. Download the tar file and copy the uncompressed jcli directory into your system path.

Other package managers

Here are other package managers:

  • GoFish users can use gofish install jcli
  • Scoop users can use scoop install jcli

If you cannot download jcli from GitHub, please try the following ways:

jcli_id=$(docker create jenkinszh/jcli) && sudo docker cp $jcli_id:/usr/local/bin/jcli /usr/local/bin/jcli && docker rm -v $jcli_id

Download different version of OS? Just need to change the docker image tag:

image description
jenkinszh/jcli Linux
jenkinszh/jcli:darwin Mac
jenkinszh/jcli:win Windows, you can find it from /usr/local/bin/jcli.exe
jenkinszh/jcli:dev Developing version, find can find them from /bin/linux/jcli or /bin/darwin/jcli or /bin/windows/jcli.exe

Want to try the latest features? Download the developing version of different platform:

  • jcli_id=$(docker create jenkinszh/jcli:dev) && sudo docker cp $jcli_id:/bin/linux/jcli . && docker rm -v $jcli_id
  • jcli_id=$(docker create jenkinszh/jcli:dev) && sudo docker cp $jcli_id:/bin/darwin/jcli . && docker rm -v $jcli_id
  • jcli_id=$(docker create jenkinszh/jcli:dev) && sudo docker cp $jcli_id:/bin/windows/jcli.exe . && docker rm -v $jcli_id

Get started

Read this document for more details on how to use jcli.

Contribution

If you're interested in this project. Please go through the contribution guide. Any contributions are welcome.

Thanks to JetBrains for giving us the open source licence.
goland.svg

Stargazers over time

Stargazers over time

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
cmd
mock
mhttp
Package mhttp is a generated GoMock package.
Package mhttp is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL