1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/builds-basic-start-environment-variable.adoc
2019-05-13 13:57:48 +10:00

17 lines
398 B
Plaintext

// Module included in the following assemblies:
// * assembly/builds
[id="builds-basic-start-environment-variable_{context}"]
= Setting environment variables when starting a build
You can specify the `--env` flag to set any desired environment variable for the
build.
.Procedure
To specify a desired environment variable, run:
----
$ oc start-build <buildconfig_name> --env=<key>=<value>
----