openshift-jenkins-demo
openshift-jenkins-demo copied to clipboard
can't trigger the pipeline from Gogs webhook
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
I have the same issue a push to gogs should trigger a build and it doesn't.
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.