What are the options for release management using Jenkins

微笑、不失礼 提交于 2019-12-05 01:15:55

问题


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?

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, 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?

Thanks,

Steve Solomon stev.solomon@gmail.com


回答1:


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

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




回答2:


I'd recommend taking a look at the M2 Release Plugin for Jenkins. It's a Jenkins front end for the mvn-release-plugin.



来源:https://stackoverflow.com/questions/11250474/what-are-the-options-for-release-management-using-jenkins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!