Last active
December 27, 2015 03:29
-
-
Save garystafford/7260137 to your computer and use it in GitHub Desktop.
jenkins-glassfish-deploy-updated Ant target from my blog post, 'Automated Deployment to GlassFish Using Jenkins CI Server and Apache Ant': http://wp.me/p1RD28-2I.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Older style. Not what is in repo on GitHub. --> | |
<target name="jenkins-glassfish-deploy-updated" depends="clean, default, test" | |
description="Clean, build, test and deploy application to GlassFish"> | |
<exec failonerror="true" executable="cmd" description="Deploy to GlassFish"> | |
<arg value="/c" /> | |
<arg value="asadmin --echo=true --host=localhost --port=4848 --user=admin | |
--passwordfile=pwdfile_domain1 --secure=false | |
deploy --force=true --name=HelloGlassFish --contextroot=/HelloGlassFish dist\HelloGlassFish.war" /> | |
</exec> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment