Skip to content

Instantly share code, notes, and snippets.

@wataru420
Created June 24, 2012 13:27
Show Gist options
  • Save wataru420/2983229 to your computer and use it in GitHub Desktop.
Save wataru420/2983229 to your computer and use it in GitHub Desktop.
tomcat7でtomcatManager
WAR="/home/cy_jenkins/.jenkins/jobs/hogeapp-build/workspace/target/hogeapp.war"
curl --upload-file $WAR "http://hogeuser:fuga@targethost:8080/manager/text/deploy?path=/hogeapp&update=true"
<user username="hogeuser" password="fuga" roles="admin-gui,admin-script,manager-status,managaer-script"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment