jx step verify url

list of jx commands

jx step verify url

Verifies a URL returns an expected HTTP code

Synopsis

This step checks the status of a URL

jx step verify url [flags]

Examples

  jx step verify url --endpoint https://jenkins-x.io

Options

  -c, --code int             The HTTP code which should be returned by the endpoint (default 200)
  -e, --endpoint string      The endpoint on which to wait for expected HTTP code
  -h, --help                 help for url
  -i, --insecureSkipVerify   If the URL requires an insucure request
  -t, --timeout duration     The default timeout for the endpoint to return the expected HTTP code (default 10m0s)

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020