我如何向 Team City 提供文件?

发布于 2024-07-23 20:49:02 字数 242 浏览 2 评论 0原文

我们正在考虑修改我们的构建过程,以便我们的配置文件都是基于模板的。 然后,我们将拥有一个 local.properties.xml 文件,NAnt 将使用该文件来创建特定于运行构建的人员的配置文件。

我的问题是,考虑到我们不想签入 local.properties.xml,如何安全地向 TeamCity 提供文件? 我非常确定 TeamCity 会破坏它所拥有的构建目录,因此我认为我不能将文件放入其中。

有什么建议么?

We are looking at modifying our build process so that our configuration files are all template based. We will then have a local.properties.xml file which will be used by NAnt to create configuration files that are specific to the person running the build.

My question is how can I safely provide TeamCity with a file considering we don't want to check in the local.properties.xml? I'm pretty sure that TeamCity nukes the build directory it has so I don't think I can just drop a file in their.

Any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月寒剑心 2024-07-30 20:49:02

我只看到黑客的方式:将您的文件作为某些构建的工件发布并在 工件依赖项

I see the hackish way only: post your file as an artifact of some build and retrieve it with help of artifact dependencies.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文