Enabling A Repository Webhook Capability
To enable a Webhook for a specific repository, perform the following steps:
Select Settings → Capabilities.
Select Create Capability.
Select Webhook: Repository.
Complete the form by selecting which Repository you’d like to receive events from, select Event Types you’d like to have events sent for and entering the URL you would like the events to be sent to.
This form also includes an option to use a Secret Key for sending your events with a HMAC payload digest.
Note
Nexus Repository Manager Webhooks will provide a sha1 hash of the JSON body using a shared secret key. This allows you to verify the data integrity as well as its authenticity. The JSON body is hashed without whitespace and this hash is provided in the header as X-Nexus-Webhook-Signature.
After you enable the capability, you will now see the Webhook: Repository capability in the list of Capabilities.