kutzi commented on Bug JENKINS-16045

Unfortunately, the contract of getAffectedPath() and getAffectedFiles() is not very clear (at least to me). https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/scm/ChangeLogSet.java

In fact, it implies that paths should be relative to workspace root, but doesn't say so explicitely.
Also getAffectedFiles() seems to be differ substantially in the svn implementation, because - AFAI can see - it doesn't use the preparePath method.
This seems to be a big mess. However, unfortunately I cannot see, how to change this without severely breaking backwards compatibility.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to