Hudson和Maven-release-plugin [英] Hudson and maven-release-plugin
本文介绍了Hudson和Maven-release-plugin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将Hudson与 maven-release-plugin 一起使用.
I'm using Hudson with the maven-release-plugin.
您可能知道,maven-release-plugin分两步构建项目:release:prepare
,然后是release:perform
.
As you may know, the maven-release-plugin builds project in 2 steps: release:prepare
, then release:perform
.
如果release:perform
失败,我应该如何配置Hudson执行release:rollback
?
How should I configure Hudson to execute release:rollback
in case release:perform
failed?
推荐答案
The standard way of performing release with Hudson/Jenkins is the Jenkins M2 release plugin. It wraps the maven release plugin and automates its execution.
这篇关于Hudson和Maven-release-plugin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文