Email-ext pattern for two filetypes

16 views
Skip to first unread message

Mike Ayers

unread,
Feb 22, 2016, 11:37:11 AM2/22/16
to Jenkins Users
I am running jmeter via maven and using the jmeter-analysis-maven-plugin, which generates files of type .html, .png, and .csv in the target/jmeter/report directory.  I want to attach the .html and .png files, but not the .csv files, to the build report email.  I know that the attachments are looked for within the workspace using the "Ant pattern matching syntax used in many places in Jenkins", but I cannot find that documented anywhere.  Specifically, what is the mechanism used to get multiple patterns, a function critical to matching in Ant, where <includes> and <excludes> elements are used in combination to get results like the one I seek?

I have tried "**/report/*.html,**/report/*.png', '**/report/*.(html|png)', and many others without success.  I expect that the former is on track, but don't know the correct format.


Thanks!


Mike


Reply all
Reply to author
Forward
0 new messages