Skip to content

Instantly share code, notes, and snippets.

@guaxinim
Created May 14, 2013 17:01
Show Gist options
  • Save guaxinim/5577598 to your computer and use it in GitHub Desktop.
Save guaxinim/5577598 to your computer and use it in GitHub Desktop.
Deploy exploded war via CLI
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