WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx update webhooks
list of jx commands
jx update webhooks
Updates the webhooks for all the source repositories optionally filtering by owner and/or repository
Synopsis
Updates the webhooks for all the source repositories optionally filtering by owner and/or repository
jx update webhooks [flags]
Examples
# update all the webhooks for all SourceRepository and Environment resource:
jx update webhooks
# only update the webhooks for a given owner
jx update webhooks --org=mycorp
Options
--endpoint string Don't use the endpoint from the cluster, use the provided endpoint
--exact-hook-url-match Whether to exactly match the hook based on the URL (default true)
-h, --help help for webhooks
--hmac string Don't use the HMAC token from the cluster, use the provided token
-o, --owner string The name of the git organisation or user to filter on
--previous-hook-url string Whether to match based on an another URL
-r, --repo string The name of the repository to filter on
--warn-on-fail If enabled lets just log a warning that we could not update the webhook
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
- jx update - Updates an existing resource
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)