-
Bug
-
Resolution: Unresolved
-
Minor
-
None
FolderCopyOperation relies on hudson.FilePath#FilePath(hudson.FilePath, java.lang.String), with the first argument being the workspace and the second the user provided string.
This implementation handles properly relative / absolute paths.
FileCopyOperation relies on hudson.FilePath#list(java.lang.String, java.lang.String), with both arguments being provided by the user (includes & excludes).
This implementation treats the input as an Ant GLOB pattern, and does not support absolute paths.
Since it is possible to copy any directory from anywhere, it should be possible to copy files from outside the current workspace.
Maybe something like an optional parameter "sourceFileLocation".