title: Add properties to artifacts while uploading to Artifactory
body: <p>I have a directory tree like below and I need to upload the complete structure as it is to Artifactory using Jenkins. Now I could not find a way to assign properties to all files under 'Delhi' to have <code>Continent(property name)=Asia, CountryName=India</code> and similarly for Nepal and so for 'Australia'.
  !<a href="http://i.stack.imgur.com/Z0avM.jpg" rel="nofollow">Asia
  --India
    ---Delhi
        state.txt
        abc.ste
  --Nepal
      Kathmandu.txt
  Australia
  --NSW
    ---Sydney
        abc.tst
        cbd.txt</a></p>
  
  <p>I have tried Jenkins Artifactory plugin where I have option to use deployment properties but no way to do such conditional property assignment, instead it applies to the whole directory tree mentioned in 'Published Artifacts". Also I have tried EnvInject which too injects property and applies to all.</p>