Bug 1385182

Summary: Add build env vars to oc new-app
Product: OpenShift Container Platform Reporter: Nick Schuetz <nschuetz>
Component: RFEAssignee: Ben Parees <bparees>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, bparees, jokerman, mmccomas, nschuetz, stauil
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-18 23:31:28 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:
Embargoed:

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