Bug 1385182 - Add build env vars to oc new-app
Summary: Add build env vars to oc new-app
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-14 23:27 UTC by Nick Schuetz
Modified: 2018-12-18 23:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-18 23:31:28 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nick Schuetz 2016-10-14 23:27:18 UTC
Description of problem:

As a user I would like the ability to pass oc new-app build environment variables. for instance I would like to be able to point my build at a local Nexus instance like so:

oc new-build jboss-eap70-openshift~https://github.com/RedHatWorkshops/kitchensink --build-env-var MAVEN_MIRROR_URL=http://nexus-artrepo.apps.devday.ocpcloud.com/content/groups/public

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

The ability to set an environment variable for the build process when using oc new-app.

Additional info:

Comment 1 Nick Schuetz 2016-10-14 23:32:49 UTC
Correction, the example command would be: 

oc new-app jboss-eap70-openshift~https://github.com/RedHatWorkshops/kitchensink --build-env-var MAVEN_MIRROR_URL=http://nexus-artrepo.apps.devday.ocpcloud.com/content/groups/public

Comment 2 Ben Parees 2018-12-18 23:31:28 UTC
delivered here:
https://github.com/openshift/origin/pull/12455


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