jcli job log

jcli job log

Print the job’s log of your Jenkins

Synopsis

Print the job’s log of your Jenkins It’ll print the log text of the last build if you don’t give the build id.

jcli job log <jobName> [buildID] [flags]

Options

  -h, --help           help for log
  -s, --history int    Specific build history of log (default -1)
  -i, --interval int   Interval of watch (default 1)
  -w, --watch          Watch the job logs

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