Doing a release on Hudson using Maven 2 (revisited)
Originally we had an article that specified using the Maven Batch Task plugin, well that is no longer necessary.
RequirementsMake sure that the user account Hudson is using has access to a locally installed Maven 2. Verify this by logging in with that account and issueing "mvn". If this does not work, make sure you get this to work first.
Within Hudson verify if your installation has the "M2 Release Plugin" plugin installed. See "Manage Hudson" and then "Manage Plugins" for more information. If the "M2 Release Plugin" plugin is not installed, install it and restart Hudson.
If you want to do a release, then go to the project, click on "Perform Maven Release"
All that remains now is pressing the "Schedule Maven Release Build" button to get the release done. Note you have the ability to specify the release versions.
You are now able to release using Maven 2 on Hudson. Please send comments, suggestions and any feedback to sales@manorrock.com.
(Hudson 1.309)
Copyright © 2003-2009 Manorrock.com. All Rights Reserved.