jcli plugin upload

jcli plugin upload

Upload a plugin to your Jenkins

Synopsis

Upload a plugin from local filesystem or remote URL to your 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            Remote plugin URL
      --remote-jenkins string    Remote Jenkins which will find from config list
      --remote-password string   Password of remote plugin URL
      --remote-user string       User of remote plugin URL
      --show-progress            Whether show the upload progress (default true)
      --skip-posthook            Whether skip the post command hook
      --skip-prehook             Whether skip the previous command hook

Options inherited from parent commands

      --configFile string     An alternative config file
      --debug                 Print the output into debug.html
      --doctor                Run the diagnose for current command
      --insecureSkipVerify    If skip insecure skip verify (default true)
  -j, --jenkins string        Select a Jenkins server for this time
      --logger-level string   Logger level which could be: debug, info, warn, error (default "warn")
      --proxy string          The proxy of connection to Jenkins
      --proxy-auth string     The auth of proxy of connection to Jenkins
      --token string          The token of Jenkins
      --url string            The URL of Jenkins
      --username string       The username of Jenkins

SEE ALSO