jcli plugin upload

jcli plugin upload

上传插件到你的 Jenkins

Synopsis

上传来自本地文件系统或者远程 URL 的插件到你的 Jenkins

jcli plugin upload [flags]

Examples

  jcli plugin upload --remote https://server/sample.hpi
jcli plugin upload sample.hpi
jcli plugin upload sample.hpi --show-progress=false

Options

  -h, --help                     help for upload
  -r, --remote string            远程插件 URL
      --remote-jenkins string    Remote Jenkins which will find from config list
      --remote-password string   远程插件的秘密
      --remote-user string       User of remote plugin URL
      --show-progress            是否显示上传进度 (default true)
      --skip-posthook            是否跳过后置命令钩子
      --skip-prehook             是否跳过前置命令钩子

Options inherited from parent commands

      --configFile string     指定另外一个配置文件
      --debug                 Print the output into debug.html
  -j, --jenkins string        选择本次执行的 Jenkins
      --logger-level string   Logger level which could be: debug, info, warn, error (default "warn")

SEE ALSO