Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 462 Bytes

builds-basic-start-environment-variable.adoc

File metadata and controls

16 lines (12 loc) · 462 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, enter the following command:

    $ oc start-build <buildconfig_name> --env=<key>=<value>