Jenkins CLI v0.0.18 :rainbow: 的发布,增加和改善了很多易用的功能。
安装方法:
Mac
brew tap linuxsuren/jcli brew install jcli
要在 Linux 操作系统上安装 jcli
的话,非常简单。只需要执行下面的命令即可:
curl -L https://github.com/linuxsuren/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz|tar xzv sudo mv jcli /usr/local/bin/
你只要 点击这里
就可以下载到最新版本的压缩包。之后,把解压后的文件 jcli
拷贝到你的系统目录下即可。
快速入门:
ubuntu@172:~$ ./jcli -h
jcli is Jenkins CLI which could help with your multiple Jenkins,
Manage your Jenkins and your pipelines
More information could found at https://jenkins-zh.cn
Usage:
jcli [flags]
jcli [command]
Available Commands:
center Manage your update center
config Manage the config of jcli
crumb Print crumbIssuer of Jenkins
help Help about any command
job Print the job of your Jenkins
open Open your Jenkins with a browse
plugin Manage the plugins of Jenkins
queue Print the queue of your Jenkins
restart Restart your Jenkins
user Print the user of your Jenkins
Flags:
-h, --help help for jcli
-v, --version Print the version of Jenkins CLI
Use "jcli [command] --help" for more information about a command.