new-app will take a git branch via #branchname at the end of a source url
the webui doesn't do this, and treats #branchname as part of the URL.
This is inconsistent behavior.
Fix is in https://github.com/openshift/origin/pull/4223
You can input a URL like https://github.com/openshift/nodejs-ex#v1.0.1 and it will strip off the ref and use that instead of "master". If no ref is specified then it will still default to master.
Commit pushed to master at https://github.com/openshift/origin
Bug 1250153 - console doesnt accept git ref in create from source URL
The fix in pull4223 works on origin, but we need a new ose puddle with the fix to verify this enterprise bug. Pls provide the puddle ,then move the bug ON_QA again.
Verified on puddle OpenShiftEnterprise/3.0/2015-09-08.1
# oc version
Steps to verify:
1.On web console, create app with: https://github.com/openshift/nodejs-ex#v1.0.1 and choose image nodejs
2.Check the buildconfig, pod and build.
1.App is created successfully.
2.Build is completed and pod is running.
In the buildconfig, the source is using ref v1.0.1:
And from the build logs, confirm that it used ref v1.0.1: "Checked out "v1.0.1""
So move the bug to verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.