How To Operate Automate Undeploy, Redeployment Inwards 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 unlike 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" 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.