Looking for a JavaEE Architect or Potential Tech Co-Founder?
Please don't hesitate to contact me.

How to run automate undeploy, redeployment in jboss using jenkins

Deploy on the same server where jenkins is deployed.
JBOSS_HOME/bin/jboss-cli.sh -c --user="czetsuya" --password="broodcamp.com" --commands="undeploy broodcamp.war,deploy $WORKSPACE/broodcamp/target/broodcamp.war"

Deploy on a different server.
JBOSS_HOME/bin/jboss-cli.sh controller=127.0.0.3 -c --user="czetsuya" --password="broodcamp.com" --commands="undeploy broodcamp.war,deploy $WORKSPACE/broodcamp/target/broodcamp.war"
How to run automate undeploy, redeployment in jboss using jenkins How to run automate undeploy, redeployment in jboss using jenkins Reviewed by Edward Legaspi on Thursday, November 06, 2014 Rating: 5

No comments:

Powered by Blogger.