title: Jenkins not copying folder structure of project
body: <p>I'm trying to deploy with Jenkins. I'm sending to a server, and the folder <code>www</code> receives the files from the root project, but doesn't receive any of the folders and subfolders. How can I fix this?</p>
  
  <p>I thought it could be permissions, so I tried to give chmod 777 to www, but didn't work anyway.</p>
  
  <p>I have configured my server (hostname, username, and remote directory). Then I create my job with a git config (url, credentials, and branch to watch), job will run every minute. In the Build option, I put source files (*), Exec Command (commands for migrations and things like that). When it runs, my <code>www</code> folder was empty and receives files, but not folders. </p>