Bug 1301870

Summary: [devexp_public_430]Need update help doc of new-build cmd
Product: OKD Reporter: XiuJuan Wang <xiuwang>
Component: ocAssignee: Ben Parees <bparees>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 17:09:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description XiuJuan Wang 2016-01-26 08:55:03 UTC
Description of problem:
Should be --source-image and --source-image-path in new-build help doc.And in [destination-dir] /tmp should be a reletive path like tmp/
 # Create a build config that gets its input from a remote repository and another Docker image
  $ oc new-build https://github.com/openshift/ruby-hello-world --image-source=openshift/jenkins-1-centos7 --image-source-path=/var/lib/jenkins:/tmp


Version-Release number of selected component (if applicable):
devenv-rhel7_3237
oc v1.1.1-155-ga3dd1f0
kubernetes v1.1.0-origin-1107-g4c8e6f4


How reproducible:
always

Steps to Reproduce:
1.oc new-build -h
2.
3.

Actual results:
As description.

Expected results:
Should updated examples in new-build help doc.

Additional info:

Comment 1 Ben Parees 2016-01-27 13:05:47 UTC
fix: https://github.com/openshift/origin/pull/6844

Comment 2 XiuJuan Wang 2016-01-28 02:52:02 UTC
@Ben 
Also need update /var/lib/jenkins:/tmp to /var/lib/jenkins:tmp/

Comment 3 Ben Parees 2016-01-28 14:41:45 UTC
https://github.com/openshift/origin/pull/6871

Comment 4 XiuJuan Wang 2016-01-29 03:05:37 UTC
Test in devenv-rhel7_3273 with oc version(v1.1.1-277-gf45f63e)

# Create a build config that gets its input from a remote repository and another Docker image
  $ oc new-build https://github.com/openshift/ruby-hello-world --source-image=openshift/jenkins-1-centos7 --source-image-path=/var/lib/jenkins:tmp

Move bug to verified.