Bug 1301870 - [devexp_public_430]Need update help doc of new-build cmd
Summary: [devexp_public_430]Need update help doc of new-build cmd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-26 08:55 UTC by XiuJuan Wang
Modified: 2016-05-12 17:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 17:09:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.