microsoft / vsts-tomcat

This contains tomcat tasks for vsts build and rm
11 stars 20 forks source link

Tomcat 8.0.44 Doesn't seem to support this #19

Open savas-guven opened 7 years ago

savas-guven commented 7 years ago

The Latest Tomcat Web App is based on 8.0.44 in Azure Marketplace. I managed to get the Tomcat Manager access, and cURL APIs enabled.

Unfortunately the "Deploy to Apache Tomcat Task" seems to perform an unsupported call:

============================================================================== 2017-07-29T16:02:19.7357780Z Task : Deploy to Apache Tomcat 2017-07-29T16:02:19.7357780Z Description : Deploy application to a Tomcat server. 2017-07-29T16:02:19.7357780Z Version : 0.1.3 2017-07-29T16:02:19.7357780Z Author : Microsoft Corporation 2017-07-29T16:02:19.7357780Z Help : More Information 2017-07-29T16:02:19.7357780Z ============================================================================== 2017-07-29T16:02:20.5877548Z [command]C:\Program Files\Git\usr\bin**curl.exe --stderr - --fail -o d:\a_temp\tomcatResponse_1501344140562.txt -u YYYYY:XXXX -T d:\a\r1\a\damage-report-artifacts\damage-report\damage-report.war http://REMOVED.azurewebsites.net/manager/text/deploy?path=/damage-report&update=true** 2017-07-29T16:02:21.2362504Z % Total % Received % Xferd Average Speed Time Time Time Current

2017-07-29T16:02:21.8310876Z curl: (22) The requested URL returned error: 404 Not Found 2017-07-29T16:02:21.8460877Z ##[error]Error: C:\Program Files\Git\usr\bin\curl.exe failed with return code: 22

When I reproduce it locally (from my windows desktop) I get the same error, checking it in Fiddler revealed that update=true option is not recognized.

Removing it doesn't help either. Interestingly enough using Tomcat Manager I was not able to deploy my WAR file.

I simply FTP it over. Disappointing..