Created
May 14, 2013 17:01
-
-
Save guaxinim/5577598 to your computer and use it in GitHub Desktop.
Deploy exploded war via CLI
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
Fazer deploy de war explodido via CLI | |
Adicionando o path do deploy em /deployment | |
/deployment=neo.war:add(runtime-name="neo.war",content=[{"path"=>"/opt/deploy/neo.war","archive"=>"false"}]) | |
Adicionando o deploy no grupo | |
/server-group=grupo-fnde/deployment=neo.war:add(runtime-name="neo.war",content=[{"path"=>"/opt/deploy/neo.war","archive"=>"false"}],enabled=true) | |
{ | |
"outcome" => "success", | |
"result" => undefined, | |
"server-groups" => {"grupo-fnde" => {"host" => {"master" => {"servidor01" => {"response" => {"outcome" => "success"}}}}}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment