Jenkins CLI 可以帮忙你轻松地管理 Jenkins。不管你是一名插件开发者、管理员或者只是一个普通的 Jenkins 用户,它都是为你而生的!
项目地址: https://gitee.com/jenkins-zh/jenkins-cli
文档地址: https://jenkins-zh.github.io/jcli-docs/
本次发布,主要增加了下载归档文件以及命令行补全的功能。
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
completion Genereate bash completion scripts
config Manage the config of jcli
crumb Print crumbIssuer of Jenkins
doc Genereate document
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 Manage the queue of your Jenkins
restart Restart your Jenkins
user Print the user of your Jenkins
Flags:
--configFile string An alternative config file
--debug Print the output into debug.html
-h, --help help for jcli
-j, --jenkins string Select a Jenkins server for this time
-v, --version Print the version of Jenkins CLI
Use "jcli [command] --help" for more information about a command.
尽情期待更多好用的功能。