title: Teamcity deployment to another server via ssh
body: <p>I'm trying to use teamcity <strong>deployer plugin</strong> to send my build result (war file) via ssh to another computer in network.
  my problem is how to config deployer to find my builded war file.
  I used %teamcity.build.workingDir%**/*.war in Artifacts path setting but it can not find any file in there.</p>
  
  <p>The log show that it try to find my file in here /home/teamcity/TeamCity/buildAgent/work/c4bca27d2b00a6fe**/*.war.</p>
  
  <p>the path is correct but It's not working...</p>
  
  <p>the teamcity document for Accessing Build Artifacts is not clear, and  does not show what should i use in setting dialog.</p>
  
  <p>Update:</p>
  
  <p>I tried to use **/mywar-1.0.war and **/build/libs/mywar-1.0.war, both works but now the problem is, it deploy the file with it's subdirectories like this dest/build/libs/mywar-1.0.war </p>
  
  <p>but i need dest/mywar-1.0.war,
  so still don't know how to configure it...</p>