Description of problem: After create an app which is from a git repo, check the webhook for the buildconfig, and found the webhook is incorrent. https://<PULIC MASTER>:8443/oapi/v1/namespaces/<namespaces>/buildconfigs Version-Release number of selected component (if applicable): fork_ami_openshift3_userinterface_public_538_95 How reproducible: always Steps to Reproduce: 1.Create a template in namespaces with https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json 2.Create an app from the template 3.Check the build webhook url for the app in /console/project/<project name>/browse/builds/<buildname> page Actual results: Display incorrent webhook url https://<PULIC MASTER>:8443/oapi/v1/namespaces/<namespace name>/buildconfigs Expected results: For github: https://<PUBLIC MASTER>:8443/oapi/v1/namespaces/<PROJECT NAME>/buildconfigs/<BUILD NAME>/webhooks/secret101/github For generic: https://<PUBLIC MASTER>:8443/oapi/v1/namespaces/<PROJECT NAME>/buildconfigs/<BUILD NAME>/webhooks/secret101/generic Additional info:
Fixed in https://github.com/openshift/origin/pull/4726
Verified on devenv-fedora_2411 For github: https://<public master>:8443/oapi/v1/namespaces/wsuntest/buildconfigs/ruby-sample-build/webhooks/secret101/github For generic: https://<public master>m:8443/oapi/v1/namespaces/wsuntest/buildconfigs/ruby-sample-build/webhooks/secret101/generic