0.1.0 • Published 6 years ago

vfe-m-cli v0.1.0

Weekly downloads
5
License
-
Repository
-
Last release
6 years ago
// 登录 Jenkins // 在 `http://ci.vipkid-qa.com.cn/user/${username}/configure` 查看 API Token
vfe jenkins login [username]

// 构建 Jenkins, app-name 示例: env-deploy/vfe-m-customer, 内部做了兼容,vfe-m-customer 一样可以执行。
vfe jenkins build <app-name> [env]
选项:
-r, --repository [repository] // 在哪个仓库构建, 默认 origin
-b, --branch [branch] // 在哪个分支构建 默认 master
-c, --config [config-name] // 使用哪套配置 默认 test

// 查看 Jenkins 日志
vfe jenkins log <app-name> <task-id>