Update webhook used by Endevor Bridge for Git.
Usage
zowe endevor-bridge-for-git update webhook-settings [id] [context] [mapping] [options]
Positional Arguments
-
id (number)
- ID of the webhook to update/delete.
-
context (string)
- Git-Endevor mapping context (ID of the organization, project, team, or the Git repository owner).
-
mapping (string)
- Git-Endevor mapping name (Git repository ID).
Options
-
--webhook-url | --url (string)
-
--name (string)
-
--enabled (boolean)
-
--description (string)
-
--operation-types | --operations (array)
-
The webhook is triggered only for the specified operations - leave this param unspecified for all operations.
Allowed values: BRIDGE_INITIATE, BRIDGE_START, BRIDGE_BENCHMARK, SYNC, MIGRATE_MAPPING, BRIDGE_HEARTBEAT, BRIDGE_STOP, DELETE_BRANCH, DELETE_MAPPING, GENERATE, INIT_REPOSITORY, REFRESH, UPDATE_REPOSITORY
-
--operation-results (array)
-
The webhook is triggered only for the specified results of the operations - leave this param unspecified for all results.
Allowed values: SUCCESS, FAILED, SKIPPED, SKIPPED_RETRY, WARNING, EXCEPTION
-
--branches | --br (array)
- Enable the webhook only for specific branches of your mapping.
-
--authorization-username | --auth-name (string)
- Authorization username if your webhook requires authorization.
-
--authorization-secret | --auth-secret (string)
- Authorization secret if your webhook requires authorization.
Endevor Bridge for Git connection options (you can also use an 'ebg' profile)
Profile Options
Base Connection Options
-
--password | --pass | --pw (string)
- Password to authenticate to service on the mainframe.
-
--token-type | --tt (string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value | --tv (string)
- The value of the token to pass to the API.
-
--cert-file (local file path)
-
The file path to a certificate file to use for authentication.
Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.
-
--cert-key-file (local file path)
- The file path to a certificate key file to use for authentication
Examples