Tomcat manager remote deploy script

前端 未结 6 2097
故里飘歌
故里飘歌 2020-11-28 21:45

I\'m writing a shell script to auto deploy/undeploy using the tomcat manager.

Following the instructions on http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.htm

6条回答
  •  悲&欢浪女
    2020-11-28 22:21

    I was getting error

    curl: Can't open webapp.war 
    

    when I only mentioned

    curl -T 'webapp.war'
    

    But it worked when I used the complete path of build artifact like

    curl -T ./target/webapp.war
    

提交回复
热议问题