openshift-jenkins-demo icon indicating copy to clipboard operation
openshift-jenkins-demo copied to clipboard

can't trigger the pipeline from Gogs webhook

Open MohamedElso opened this issue 6 years ago • 2 comments

hello, i have this configured in my gogs for webhook https://openshift.default.svc.cluster.local/oapi/v1/namespaces/cicd/buildconfigs/tasks-pipeline/webhooks/XPSJjqRT/generic it created automatically but it doesn't trigger the pipeline and i got this message in test delivery in gogs Delivery: Post https://openshift.default.svc.cluster.local/oapi/v1/namespaces/cicd/buildconfigs/tasks-pipeline/webhooks/xyz/generic: x509: certificate signed by unknown authority

i tried to change it to the url of the pipeline from openshift but didn't work also

https://master.openshift.xyz.com/oapi/v1/namespaces/cicd/buildconfigs/tasks-pipeline/webhooks/xyz/generic it complains about certs .

anybody have an idea about how to solve this issue ?

thanks

MohamedElso avatar Apr 07 '18 02:04 MohamedElso

I have the same issue a push to gogs should trigger a build and it doesn't.

Johnny2136 avatar May 01 '18 18:05 Johnny2136

The problem is with Gogs. When deploying Gogs, use the option: SKIP_TLS=True. This will allow you to post webhooks and "skip tls" security.

maltron avatar Sep 16 '18 19:09 maltron