确定来自 Hudson 的最新 svn 标签以进行部署
我们使用 Subversion 进行源代码控制,使用 Maven 进行依赖管理/发布准备,并使用 Hudson 作为 CI 服务器。 mavenreleaseprepare 进行发布标记并在 SVN 中创建一个新标记。我想在 Hudson 中运行最新标签(默认情况下)和按需其他标签的部署作业。
有没有办法获取Hudson中最新的SVN标签信息并将其传递给参数化作业。
谢谢
We use Subversion for source control along with Maven for dependency management/ release preparation and Hudson as the CI server. The maven release prepare does the release tagging and creates a new tag in SVN. I would like to run the deploy job in Hudson off the latest tag (by default) and off other tags on demand.
Is there a way to get the latest SVN tag information in Hudson and pass it to a parameterized job.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用
svn switch
和svn ls
:您将在 SO 问题“从 subversion 自动化构建中找到其他选项标签”
It should be possible, provided you add a build action which list the tags of your svn repo, using
svn switch
, andsvn ls
:You will find other options in the SO question "Automating builds from subversion tags"