如何在 Hudson 构建中从 cvs update 中删除 -C 参数

发布于 2024-09-11 14:58:12 字数 164 浏览 6 评论 0原文

我找不到在哪里可以配置 hudson 在 CVS 签出和更新中使用的参数。

我遇到一种情况,在启动 hudson 构建之前,我在本地修改构建属性文件。但是,由于 cvs 更新包含“-C”,它会覆盖我的本地更改。你知道我可以删除这个的方法吗?

非常感谢任何帮助,

保罗

I can't find where I can configure the parameters that hudson uses in CVS checkout and update.

I have a situation where I modify build properties file locally before I kick off a hudson build. However because the cvs update contains a '-C' it overwrites my local changes. Do you know of a way where I can remove this?

Any help much appreciated,

Paul

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

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

发布评论

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

评论(1

回心转意 2024-09-18 14:58:12

你让我很困惑。在开始构建之前如何在本地更改构建属性?如果我需要做类似的事情,我首先从 SCM 获取代码,然后运行脚本进行更改(例如更改构建属性),然后开始实际的构建过程(通常通过启动 Maven 或 ant)。 CI 的全部目的(Hudson 的用途)是拥有可重复的构建。构建过程中的手动步骤通常不被视为可重现的。

You are confusing me. How do you change the build properties locally before kicking off the build? If I need to do something like that, I first get the code from my SCM and then run a script to make changes (like changing the build properties) and than start the actual build process (usually by kicking off maven or ant). The whole purpose of a CI (what Hudson is supposed to be used for) is to have a reproducible build. Manual steps during a build usually do not count as reproducible.

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