I am not getting the GitHub webhook URL after creating a new project on OpenShift. I have checked the build configuration as well, but it wasn't there.
Asked
Active
Viewed 186 times
2

Shashankk Shekar Chaturvedi
- 435
- 5
- 18
-
A new openshift project aka namespace does not create a GitHub webhook. Did you mean to have a URL that triggers a build in openshift whenever your GitHub repo changes? – ptrk Jun 29 '19 at 08:50
-
Yes. How can I configure that? – Shashankk Shekar Chaturvedi Jun 29 '19 at 09:12
-
I followed a video tutorial from OpenShift on deploying a Web Application using OpenShift and followed all the steps but couldn't find the GitHub webhook URL – Shashankk Shekar Chaturvedi Jun 29 '19 at 09:13
-
Use `oc set triggers bc/webapp --from-github`, changing `webapp` to your `bc` name. This will create a GitHub web hook entry. Then query the `bc` to find out what token is assigned. – Graham Dumpleton Jun 29 '19 at 10:02
-
Thank you for your reply. I tried that too, but it didn't work. Please see my question, I have added the screenshot of it. – Shashankk Shekar Chaturvedi Jun 29 '19 at 11:42
-
@ShashankkShekarChaturvedi you are not supposed to run oc there. Download oc to your local machine – gen Sep 21 '19 at 14:17