title: Jenkins - Email attachment with dynamic pdf files
body: <p>Using <strong>Editable Email Notification</strong> in Jenkins how do we get dynamic (report file name changing in workspace after every build) <code>.pdf</code> files attached in e-mail from workspace.</p>
  
  <p>Example: <code>Root/TestResults/*.pdf</code></p>
  
  <p>Above will give all <code>pdf</code> attachments</p>
  
  <p>Example: <code>Root/TestResults/Final_Report_2015_11_07_06_47.pdf</code></p>
  
  <p>Above path is giving same file when exist.</p>
  
  <p>But file name is getting changed dynamically, i.e. <code>Final_Report_XXXX_XX_XX_XX_XX.pdf</code>.</p>
  
  <p>Is there any way to get latest file based one dynamic report file name check.</p>