Quick learning-Jenkins CLI QuickStart

Quick start

Jenkins CLI

Jenkins CLI can help you manage Jenkins easily. Whether you are a plugin developer, administrator, or just an ordinary Jenkins user, it is for you!

characteristic

  • Support multiple Jenkins instance management
  • Plug-in management (view list, search, install, upload)
  • Task management (search, build trigger, log view)
  • Support configuration as management
  • Open your Jenkins in the browser
  • Restart your Jenkins
  • Support connection through proxy

installation

The operating systems we currently support include: MacOS, Linux and Windows.

mac

You can brewinstall jcli.

brew tap jenkins-zh/jcli
brew install jcli

Linux

To install the Linux operating system jcli, it is very simple. Just 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 download the latest version of the compressed package as long as you click here . Then, after extracting the files jclicopied to your system directory.

Other package managers

Here are some other package managers:

  • Scoop users can use the command scoop install jclito install

Learn more about how to download jcli . You can get download statistics from here .

getting Started

Check out the official documentation can learn more about how to use the jcliinformation.

Or, you can choose an online interactive tutorial of Jenkins CLI .

Plug-in

The functionality of Jenkins CLI can be enhanced by installing plug-ins. Follow the command below to install a plug-in:

jcli config plugin fetch
jcli config plugin install account

All official plugins can be found here .

Guess you like

Origin blog.csdn.net/weixin_42528266/article/details/108626614