jenkinsci / jenkinsci/subversion-plugin
[JENKINS-44083] SVN currentBuild.changeSets's affectedPath/affectedFiles don't reflect workspace items as suggested by documentation
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
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.
---
Originally reported by vqrs, imported from: SVN currentBuild.changeSets's affectedPath/affectedFiles don't reflect workspace items as suggested by documentation
Raw content of original issue
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.
Contributor guide
Assessment
This issue has not been assessed yet.