I have one suggestion that could help resolve issue with %p not being expanded:
- Please check class: hudson.plugins.emailext.plugins.content.ChangesSinceLastSuccessfulBuildContent at lines: 78-80 when new map object is created: childArgs.
- It looks like that following line is missing:
- Without above line default value from ChangesSinceLastSuccessfulBuildContent class is used (private static final boolean REVERSE_DEFAULT_VALUE = false as a result of line: 66 in class hudson.plugins.emailext.plugins.content.ChangesSinceLastBuildContent variable showPaths is set to false => what is NOT that what was expected here
NOTE: the same should be probably corrected in class: ChangesSinceLastUnstableBuildContent
Could you please look at it if I'm correct?
BTW: the simplest example to test with could be: