Perforce 与 CruiseControl [.Net] 的多个结帐位置

发布于 2024-07-29 03:12:32 字数 341 浏览 1 评论 0原文

我正在使用生产测试服务器,即生产环境中的测试服务器,只能从我公司的网络访问。 这是为了在我们实际将项目部署到生产环境之前(该项目是一个网站)进行冒烟测试和回归测试(例如,确保我们的第 3 方 Web 服务可访问)。

我们使用 Perforce 源代码控制服务器和 CruiseControl.Net,我想配置 CruiseControl 将我们的生产代码签出到两个不同的文件系统位置(在我们的构建服务器上),以便它可以使用不同的构建配置构建它两次,即一种用于生产的构建配置,一种用于生产测试。 然后我会将生产测试版本自动复制到生产测试服务器。

如何为“生产测试”和“生产”指定多个签出目录,而不必为其创建两个不同的分支?

I'm employing a production-test server, that is, a test server in the production environment, which is only accessible from my company's network. This is for doing smoke tests and regression tests (for example making sure that our 3rd party web services are accessible), before we actually deploy the project to production (the project is a web site).

We use a Perforce Source Control Server and CruiseControl.Net, and I'd like to configure the CruiseControl to check out our production code to two different file system locations (on our build server) so it can build it twice with different build configurations, i.e. one build configuration for production, one for production-test. Then I'm gonna robocopy the production-test build to the production-test server.

How do I specify multiple checkout directories for "production-test" and "production", without having to create two different branches for it?

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

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

发布评论

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

评论(1

遗忘曾经 2024-08-05 03:12:32

创建两个单独的项目。 使用配置预处理器将所有公共部分提取到模板中并将其包含在内两次,仅更改项目名称、工作/工件目录和配置。 这是最简单、最可靠的解决方案。

Create two separate projects. Use Configuration Preprocessor to extract all common parts into a template and include it twice, changing only the project name, working/artifacts directories and the configuration. That's the simplest and most bulletproof solution.

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