jcli plugin upload

jcli plugin upload

上传插件到你的 Jenkins

Synopsis

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

  1. jcli plugin upload [flags]

Examples

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

Options

  1. -f, --file string The plugin file path which should end with .hpi
  2. -h, --help help for upload
  3. -r, --remote string 远程插件 URL
  4. --remote-jenkins string Remote Jenkins which will find from config list
  5. --remote-password string 远程插件的密码
  6. --remote-user string User of remote plugin URL
  7. --show-progress 是否显示上传进度 (default true)
  8. --skip-posthook 是否跳过后置命令钩子
  9. --skip-prehook 是否跳过前置命令钩子

Options inherited from parent commands

  1. --config-load If load a default config file (default true)
  2. --configFile string 指定另外一个配置文件
  3. --debug Print the output into debug.html
  4. --doctor Run the diagnose for current command
  5. --insecureSkipVerify If skip insecure skip verify (default true)
  6. -j, --jenkins string 选择本次执行的 Jenkins
  7. --logger-level string Logger level which could be: debug, info, warn, error (default "warn")
  8. --proxy string The proxy of connection to Jenkins
  9. --proxy-auth string The auth of proxy of connection to Jenkins
  10. --proxy-disable Disable proxy setting
  11. --token string The token of Jenkins
  12. --url string The URL of Jenkins
  13. --username string The username of Jenkins

SEE ALSO