How to run automate undeploy, redeploy in jboss using jenkins
Deploy on the same server where jenkins is deployed. JBOSS_HOME/bin/jboss-cli.sh -c --user="czetsuya" --password="broodcamp....
https://www.czetsuyatech.com/2014/11/jenkins-devops-pipeline-with-jboss.html
Deploy on the same server where jenkins is deployed.
Deploy on a different server.
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"
Post a Comment