本次发布,主要完善了贡献指南,增加了很多的单元测试用例,修复了一些缺陷。
brew tap jenkins-zh/jcli brew install jcli
要安装到您的 Linux 操作系统下,非常简单,只需要执行下面的命令行即可:
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/
点击这里
下载压缩包,解压后把 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.
尽情期待更多好用的功能。