Hudson CI - 标记每个构建
我正在寻找一个插件,可以标记(颠覆)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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已经使用maven发布插件有一段时间了。 Maven 发布插件有一个目标,
如果构建成功,它会标记代码库。我假设您想要标记代码库而不是工件。
它确实将项目的版本从 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,
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.
我必须解决同样的问题,但我还没有找到任何插件。可悲的是,我不得不“手动”完成此操作。
后来发现根本没有必要标记每个构建。当您想要查看最新的工作源代码时,标记上次成功的构建非常方便。如果某个构建由于某种原因很重要,我只需在 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".