Automatically deploy to Glassfish using Hudson
Posted by mriem on January 30, 2009 at 12:56 AM EST
If you want to use Hudson to automatically deploy your WAR file to Glassfish this article is a must read! Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- mriem's blog
- 2898 reads






Comments
by felipegaucho - 2009-01-30 12:53
I do the same but in a more brute way :) I use an ant task to copy the generated WAR or EAR to the autodeploy folder of Glassfish: <target name="deploy" depends="package-ear"> <copy file="${build.ear.home}/${ant.project.name}.ear" todir="${env.AS_HOME}/domains/${domain}/autodeploy" /> </target> it depends of the environment variable AS_HOME, and also has the drawback to not validate the deployment (no failure in case of deployment problems).. but it works fine ....by mriem - 2009-02-01 09:11
One of the reasons I use Hudson for the deploy is that I wanted to separate the build and deploy from each other. Another added benefit is that I can deploy to another server ;)<p> Do you have any reference / artical to seperate ...
by venkikeesara - 2011-07-14 10:20
Do you have any reference / artical to seperate build and deployment in to 2 jobs
<p> See <a ...
by mriem - 2011-07-20 11:58
See http://www.manorrock.com/documents/hudson/glassfish-deployment.html.
Here I do a deploy out of a Maven repository so I have one job that does the buil
and one job that does the deploy.