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.4.2. 输出镜像环境变量
Docker
和 Source
策略构建在输出镜像上设置以下环境变量:
变量 | 描述 |
---|---|
| 构建的名称 |
| 构建的命名空间 |
| 构建的源 URL |
| 构建中使用的 Git 引用 |
| 构建中使用的源提交 |
此外,任何用户定义的环境变量(例如,通过 Source
或 Docker
策略选项配置的环境变量)也将是输出镜像环境变量列表的一部分。