OpenShift Gogs Configuration

From NovaOrdis Knowledge Base
Revision as of 00:30, 7 December 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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.