| Hi Guy Catz, Yes I'll put the checkbox for null root in as an enhancement request. The workaround is to use a Pipeline job and do separate sync's for each drive. Below is an example of a piece of code that runs on a slave called 'Windows10' and syns code from '//depot/folder1/...' to C:\Jenkins1 and '//depot/folder2/...' to 'E:\Jenkins2':
pipeline {
agent { label "Windows10" }
stages {
stage("Sync to C:\\") {
steps {
ws("C:\\Jenkins1") {
p4sync charset: 'none', credential: 'JenkinsMaster', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: false, replace: true, tidy: false), source: depotSource('//depot/folder1/...')
}
}
}
stage("Sync to D:\\") {
steps {
ws("E:\\Jenkins2") {
p4sync charset: 'none', credential: 'JenkinsMaster', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: false, replace: true, tidy: false), source: depotSource('//depot/folder2/...')
}
}
}
}
}
|