jenkinsci / jenkinsci/subversion-plugin

[JENKINS-44083] SVN currentBuild.changeSets's affectedPath/affectedFiles don't reflect workspace items as suggested by documentation

Open
#1,417 0 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.