检索旧版本以在 Jenkins 中重新部署
我在一组环境上使用 Jenkins、Subversion 和 ANT 构建了一个自动化部署系统。这一切都有效,允许我将旧的标记版本部署到一组环境或使用 Jenkins 中的 Subversion Release Manager 自动部署最新版本。
问题出在客户端站点上,我们必须利用 Perforce(目前 Jenkins 中没有 Release Manager 插件[其实不想写一个,但可能])。设置 Jenkins 以便能够将某些版本部署到环境的最佳方法是什么?我开始将 Ivy 和 Artifactory 视为一种可能性。
如果有人有任何建议或在线指南,那就太好了!
I have built an automated deployment system using Jenkins, Subversion and ANT on a set of environments. It all works, allowing me to deploy old tagged releases to a set of environments or automatically deploy the latest build using the Subversion Release Manager within Jenkins.
The problem is on the client site, we have to utilise Perforce (which does not currently have a Release Manager plugin within Jenkins [don't really want to write one, but possible]). What is the best way to setup up Jenkins to be able to deploy certain releases to environments? I started looking at Ivy and Artifactory as a possibility.
If anyone has any suggestions, or any guides online, that would be great!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前,我们为每个 Subversion 签入构建一个 WAR 文件 - 并通过复制工件插件使其可用。重新部署只是执行此 WAR 的部署任务。
We currently build a WAR file for each Subversion checkin - and make this available with the copy artifact plugin. Redeploy is merely a matter of executing the deploy task for this WAR.