mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
18 lines
488 B
Plaintext
18 lines
488 B
Plaintext
// Module included in the following assemblies:
|
|
// * builds/basic-build-operations.adoc
|
|
|
|
:_content-type: PROCEDURE
|
|
[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, enter the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc start-build <buildconfig_name> --env=<key>=<value>
|
|
----
|