atomci icon indicating copy to clipboard operation
atomci copied to clipboard

构建过程支持添加自定义环境变量

Open colynn opened this issue 2 years ago • 3 comments

您有什么需求,是否与某个功能或问题相关? 请描述

期望可以将默认的构建过程时环境上下文添加至 环境变量内,方便用户添加自定义编译命令/脚本时引用;

你想要的解决方案是什么

  1. 渲染默认的环境上下文添加至环境变量内;
  2. 支持添加自定义的环境变量

类似如下图? image

https://github.com/go-atomci/atomci/blob/master/internal/core/pipelinemgr/uitls.go#L378

  • 请你通过留下👍 表情为此issue投票,帮助社区和维护者优先考虑这个请求;

  • 请不要留下 "+1 "或 "me too"的评论,它们会给问题订阅者带来额外的噪音,并且无助于优先处理请求。

  • 如果你有兴趣在这个问题上工作,或者已经提交了pull request,请留下评论.

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request

  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

colynn avatar May 18 '22 10:05 colynn

类似这种场景:@fanhousanbu 云效: https://help.aliyun.com/document_detail/202422.html
coding: https://help.coding.net/docs/ci/configuration/env.html#pageTitle

colynn avatar Jun 15 '22 02:06 colynn

添加的环境变量,如何应用到流水线中,是否需要另行开辟一个issue?

fanhousanbu avatar Jun 15 '22 14:06 fanhousanbu

添加的环境变量,如何应用到流水线中,是否需要另行开辟一个issue?

https://github.com/go-atomci/atomci/blob/master/internal/core/pipelinemgr/uitls.go#L391

colynn avatar Jun 15 '22 15:06 colynn