siamaksade / openshift-jenkins-demo

CI/CD Demo on OpenShift
http://www.openshift.com
530 stars 928 forks source link

can't trigger the pipeline from Gogs webhook #86

Open MohamedElso opened 6 years ago

MohamedElso commented 6 years ago

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

Johnny2136 commented 6 years ago

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

maltron commented 5 years ago

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.