Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Is it possible to use the action attribute, from the changelog.xml file to allow me to use something like this in Email-Ext:
${CHANGES, pathFormat="\t%a%p\n"
where %a is a new variable that can be either Added, Modified or Deleted (or maybe use + and -)
I see this is more complex than what I originally thought - the action attribute is not made available in hudson.scm.ChangeLogSet
http://javadoc.jenkins-ci.org/hudson/scm/ChangeLogSet.Entry.html
Could we use getAffectedFiles instead of getAffectedPaths, and optionally use getEditType?
http://javadoc.jenkins-ci.org/hudson/scm/ChangeLogSet.AffectedFile.html#getEditType()