Package Configuration - web_hooks
The web_hooks
section contains a one-dimensional array of URLs that will be sent a HTTP POST request upon a successful CI pipeline run based on the settings you defined within thepipeline section, and is generally used during project development to automatically sync commits to the production server. For example:
web_hooks:
- https://prod-server.com/svn_sync?<GENERATED_API_KEY>
Each HTTP POST request will contain the folloing field names:
Key | Description |
---|---|
package | Name of the package, formatted as <AUTHOR>/<PACKAGE> . |
branch | The name of the branch commit was on. Will be "trunk" if the main / master branch. |
author | Username of the author who made the commit. |
type | The action that spawned the HTTP request. Will be either "commit" or "release". |
version | Only applicable if "type" is "release", and is the version of the new release. |