Hudson CI - 标记每个构建

发布于 2024-10-06 09:23:57 字数 167 浏览 0 评论 0原文

我正在寻找一个插件,可以标记(颠覆)Hudson 所做的每一个构建。

我找到了 Subversion 标记插件,但每次新构建时它都会替换标记。我想跟踪通过系统的每个构建。

我更喜欢一个插件,因为大多数哈德逊工作涉及多个颠覆位置,我尝试添加标签帖子挂钩会很麻烦。

请并谢谢你

I am looking for a plugin that will tag (subversion) every single build that Hudson makes ever.

I have found the Subversion tagging plugin but it replaces the tag every time a new build happens. I would like to keep track of every single build that goes through the system.

I would prefer a plugin since most of the hudson jobs involve multiple subversion locations i to would be a hassle trying to add tag post hooks.

Please and thank you

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

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

发布评论

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

评论(2

你怎么敢 2024-10-13 09:23:57

我已经使用maven发布插件有一段时间了。 Maven 发布插件有一个目标,

install release:prepare

如果构建成功,它会标记代码库。我假设您想要标记代码库而不是工件。

它确实将项目的版本从 1.1-SNAPSHOT 更改为 1.1 并标记代码库。这样你的开发版本就会变成1.2。

I have been using the maven release plug-in for a while. Maven release plugin has a goal,

install release:prepare

which tags the codebase, if the build succeeds. I assume that you want to tag the code base rather than the artifact.

It does changes the version of the project from 1.1-SNAPSHOT to 1.1 and tags the codebase. So your development version will become 1.2.

抚你发端 2024-10-13 09:23:57

我必须解决同样的问题,但我还没有找到任何插件。可悲的是,我不得不“手动”完成此操作。

后来发现根本没有必要标记每个构建。当您想要查看最新的工作源代码时,标记上次成功的构建非常方便。如果某个构建由于某种原因很重要,我只需在 Hudson 中单击“保留此构建”,或“标记此构建”。

I had to tackle the same problem and I have not found any plugin for that. Sadly, I had to do this "by hand".

Later it turned out that tagging every build wasn't necessary at all. Tagging the last successful build is very handy when you want to checkout the latest working source code. And if a build is important for some reason I just click "Keep this build" in Hudson, or "Tag this build".

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