jcli job build

jcli job build

Build the job of your Jenkins

Synopsis

Build the job of your Jenkins. You need to give the parameters if your pipeline has them. Learn more about it from https://jenkins.io/doc/book/pipeline/syntax/#parameters.

jcli job build <jobName> [flags]

Options

  -b, --batch                     Batch mode, no need to confirm
  -h, --help                      help for build
      --param string              Parameters of the job which is JSON format
      --param-entry stringArray   Parameters of the job which are the entry format, for example: --param-entry name=value

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")
  -o, --output string         Format the output (default "json")
      --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

  • jcli job - Manage the job of your Jenkins