OpenShift Gogs Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


Repository -> Settings -> Webhooks -> Add Webhook
Repository -> Settings -> Webhooks -> Add Webhook
Payload URL: https://openshift.default.svc.cluster.local/oapi/v1/namespaces/<''project-name''>/buildconfigs/<''buildconfig-name''>/webhooks/generic
Content Type: application/json
When should this webhook be triggered: Let me choose what I need -> Push
Active.

Revision as of 00:30, 7 December 2017

Internal

Configure a Webhook

Repository -> Settings -> Webhooks -> Add Webhook


Payload URL: https://openshift.default.svc.cluster.local/oapi/v1/namespaces/<project-name>/buildconfigs/<buildconfig-name>/webhooks/generic

Content Type: application/json

When should this webhook be triggered: Let me choose what I need -> Push

Active.