OpenShift Gogs Configuration: Difference between revisions

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




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


Content Type: application/json
Content Type: application/json

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.