IntroductionIf you want to automatically deploy your WAR file to Glassfish using Hudson then read this article.
RequirementsSetup
- Hudson
- Glassfish
Make sure that the user account Hudson is using has access to a locally available distribution of Glassfish. Verify this by logging in with that account and issueing "asadmin". If this does not work, make sure you get this to work first.
Create a free-form project and fill in the information similar to the image below. Note read the help for the asadmin command.
This completes the configuration. And if you want to do a release, then go to the project, click on "Build Now" and voila! If the deployment fails for some reason you can see what happened in the Output of the Build.
You are now able to automatically deploy onto Glassfish using Hudson. Please send comments, suggestions and any feedback to sales@manorrock.com.
(Hudson 1.268)