This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.8.6. 构建环境
8.6.1. 概述 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
与 pod 环境变量一样,可以使用 Downward API 在引用其他资源/变量时定义构建环境变量。但是,有几个例外情况如下。
注意
您还可以使用 oc set env
命令管理 BuildConfig
中定义的环境变量。