Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 398 Bytes

builds-basic-start-environment-variable.adoc

File metadata and controls

16 lines (11 loc) · 398 Bytes

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>