使用Jenkins进行发布管理的选项有哪些 [英] What are the options for release management using Jenkins

查看:162
本文介绍了使用Jenkins进行发布管理的选项有哪些的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在评估Jenkins和Apache Continuum之类的构建引擎.我们构建的大部分内容都使用Maven. Jenkins中有哪些选项可用于发布管理?

I'm evaluating build engines like Jenkins and Apache Continuum. The bulk of our build is using Maven. What options are there in Jenkins for release management?

通过发布管理,我的意思是从源代码管理中的分支创建发布,然后在Maven中更新版本标签的过程.例如,如果我的Maven项目(父级和子级子项目)当前的版本为5.5-SNAPSHOT,我想告诉Jenkins签出,构建和测试该分支的最新版本,并将POM更新到版本5.5 .然后,它应该在版本5.6-SNAPSHOT的源代码管理中创建一个新分支,并相应地更新此新分支上的所有POM.

By release management I mean the process of creating a release from a branch in source control, then updating the version tag in Maven. For example, if my Maven project (parent + child sub-projects) is currently at version 5.5-SNAPSHOT, I would like to tell Jenkins to check out, build, and test the latest of this branch, and update the POMs to version 5.5. Then, it should create a new branch in source control for version 5.6-SNAPSHOT, and update all the POMs on this new branch accordingly.

Apache Continuum(我相信它是由Maven背后的同一个团队Sonatype开发的)具有此版本管理功能.我见过Jenkins的一个名为Artifactory插件的插件,该插件似乎要求存储库管理器是Artifactory. Jenkins还可以使用哪些其他版本管理选项?最佳做法是什么?

Apache Continuum, which I believe was developed by Sonatype, the same team behind Maven, has this release management feature. I've seen a plugin for Jenkins called the Artifactory Plugin, which seems to require that the repository manager is Artifactory. What other release management options are available for Jenkins? What is the best practice?

谢谢

史蒂夫·所罗门 stev.solomon@gmail.com

Steve Solomon stev.solomon@gmail.com

推荐答案

Jenkins支持发布:

Jenkins supports releasing: https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin

Maven和自由样式项目都支持它.不需要Artifactory.

It's supported by both Maven and free-style projects. Artifactory is not required.

这篇关于使用Jenkins进行发布管理的选项有哪些的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆