microsoft / vsts-tomcat

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

Improve error descriptions for tomcat deployment task #18

Open kakemp01 opened 7 years ago

kakemp01 commented 7 years ago

I use the "Deploy to Tomcat" task to deploy a .war file to a Linux VM on azure. I realized that the task creates a new folder on the target environment. The folder name equals the {filename} of the uploaded war-file. Since my filename was "ROOT.war" the task tries to create/copy the file into the ROOT folder of the Linux host, which is not possible.

It took me a while to figure that out, because the error message of the task was **curl: (55) Send failure: Connection reset by peer

[error]Error: C:\Program Files\Git\usr\bin\curl.exe failed with return code: 55**

Is it possible to provide better or more detailed feedback?

Regards, Karsten