基于环境的控制分配管理

发布于 2024-12-28 05:06:16 字数 302 浏览 1 评论 0原文

我使用的是 Maven 3.0.3 + artifactory + hudson + linux

我如何区分&控制我的基于本地和服务器构建。

因为我的 SIT 是 linux.,其中构建由 hudson 负责。

对于本地人来说,想要在 windows / linux 上进行构建。

如果构建发生在本地(windows/linux)上,我不应该使用,意味着构建不应该分发到artifactory。

我如何控制分发管理。

I am using Maven 3.0.3 + artifactory + hudson + linux

How can I distinguish & control my <distributionManagement> based on local & server build.

Because my SIT is linux., where build is taken care by hudson.

and for local want to do build on either on windows / linux .

If build takes place on Local(windows/linux) i should not use , mean build should not distribute to artifactory.

How can I control distributionManagement.

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

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

发布评论

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

评论(1

怪我鬧 2025-01-04 05:06:16

您可能需要查看配置文件

You may want to take a look on profiles.

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