提交 b95e97fd 编写于 作者: LinuxSuRen's avatar LinuxSuRen

Describe how to setting a proxy for jcli

上级 6c1b90e8
......@@ -32,8 +32,23 @@ You can try it:
## Job Management
TODO.
You can search a job list using a keyword, like this: `jcli job search input`.
It's very simple to trigger a job. We have the batch mode and interactive mode. This command will finish immediately.
`jcli job build "folderName jobName" -b`
Once you triggered a job, then you can watch the log output by `jcli job log "zjproject zjproject-inputstep55" -w`. This command will always output the log of the last build.
## Proxy Support
TODO.
\ No newline at end of file
Jenkins might be stay in behind a firewall. So we cannot connect it directly. You can give `jcli` a proxy setting. It's also very simple to support a proxy setting. You just need to execute: `jcli config edit`. Then find the item which you want to add a proxy. Like the below demo:
```
- name: dev
url: http://192.168.1.10
username: admin
token: 11132c9ae4b20edbe56ac3e09cb5a3c8c2
proxy: http://192.168.10.10:47586
proxyAuth: username:password
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册