-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Master: Windows 7, Jenkins 1.425, copy-to-slave 1.3
Slave: Linux Ubuntu 8.1.0
Directory structure is not being preserved, the files are being created with their original path prepended to the file name, for instance:
File structure on master node:
- workspace
- folder1
- folderA
- fileA
- fileB
- folderA
- folder2
- fileC
- fileD
- folder1
Files to copy: folder1, folder2 (or "folder1/*, folder2/", "/folder1/, /folder2/*", etc. All had the same result)
Paths are relative to: This job's workspace on the master (not advised)
No excluded files, flatten directories and ant default excludes both unchecked.
File structure on slave node:
- workspace
- job_name
- folder1/folderA/fileA
- folder1/fileB
- folder2/fileC
- job_name
I'm also using this plugin http://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin with this job, not sure if this is causing this issue.
PS: This is my first time opening an issue, and I was not sure if I should mark this issue as blocker or major.
[JENKINS-10798] Directory structure is not being preserved
Description |
Original:
Directory structure is not being preserved, the files are being created with their original path prepended to the file name, for instance: File structure on master node: +- workspace | +- folder1 | +- folderA | | +- fileA | +- fileB | +- folder2 | +- fileC +- fileD Files to copy: folder1, folder2 (or "folder1/**, folder2/**", "/folder1/**, /folder2/**", etc. All had the same result) Paths are relative to: This job's workspace on the master (not advised) No excluded files, flatten directories and ant default excludes both unchecked. File structure on slave node: +- workspace +- job_name +- folder1/folderA/fileA +- folder1/fileB +- folder2/fileC I'm also using this plugin http://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin with this job, not sure if this is causing this issue. PS: This is my first time opening an issue, and I was not sure if I should mark this issue as blocker or major. |
New:
Directory structure is not being preserved, the files are being created with their original path prepended to the file name, for instance: File structure on master node: * workspace ** folder1 *** folderA **** fileA *** fileB ** folder2 *** fileC ** fileD Files to copy: folder1, folder2 (or "folder1/**, folder2/**", "/folder1/**, /folder2/**", etc. All had the same result) Paths are relative to: This job's workspace on the master (not advised) No excluded files, flatten directories and ant default excludes both unchecked. File structure on slave node: * workspace ** job_name *** folder1/folderA/fileA *** folder1/fileB *** folder2/fileC I'm also using this plugin http://wiki.jenkins-ci.org/display/JENKINS/Clone+Workspace+SCM+Plugin with this job, not sure if this is causing this issue. PS: This is my first time opening an issue, and I was not sure if I should mark this issue as blocker or major. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: Romain Seguy [ rseguy ] | New: Daniel Petisme [ danielpetisme ] |
Workflow | Original: JNJira [ 141000 ] | New: JNJira + In-Review [ 185380 ] |