-
Bug
-
Resolution: Unresolved
-
Minor
-
None
http://javadoc.jenkins.io/hudson/scm/ChangeLogSet.Entry.html#getAffectedFiles-- says
Returns a set of paths in the workspace that was affected by this change.
However, these paths are not necessarily relative to the workspace root, they're relative to the checkout directory. Further, there is no way to query said checkout directory through the ChangeLogSet.
This makes `currentBuild.changeSets` rather unusable for SVN checkouts.
[JENKINS-44083] SVN currentBuild.changeSets's affectedPath/affectedFiles don't reflect workspace items as suggested by documentation
Description |
Original:
[http://javadoc.jenkins.io/hudson/scm/ChangeLogSet.Entry.html#getAffectedFiles--] says {quote}Returns a set of paths in the workspace that was affected by this change. {quote} However, these paths are not necessarily relative to the workspace root, they're relative to the checkout directory. Further, there is no way to query said checkout directory through the ChangeLogSet. |
New:
[http://javadoc.jenkins.io/hudson/scm/ChangeLogSet.Entry.html#getAffectedFiles--] says {quote}Returns a set of paths in the workspace that was affected by this change. {quote} However, these paths are not necessarily relative to the workspace root, they're relative to the checkout directory. Further, there is no way to query said checkout directory through the ChangeLogSet. This makes `currentBuild.changeSets` rather unusable for SVN checkouts. |