-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: p4-plugin
-
None
-
Environment:P4 Plugin 1.8.4
Jenkins ver. 2.87
Hello
P4 plugin always creates workspaces with 'clobber: true' even if 'clobber: false' was specified.
Example:
node {
checkout perforce(
credential: 'e0cd5f60-0ddd-4289-b0f3-xxxxxxxxx',
populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'],
pin: '', quiet: true, replace: true, tidy: false),
workspace: manualSpec(charset: 'none', name: 'xxx', pinHost: false,
spec: clientSpec(allwrite: false, backup: false, clobber: false, compress: false, line: 'LOCAL', locked: false, modtime: false, rmdir: false, serverID: '', streamName: '', type: 'WRITABLE',
view: "//depot/stream/Jenkinsfile //xxx/Jenkinsfile")))
}
Â
Â
> p4 workspace -o xxx
Client: xxx
Owner: xxx
Root: /home/xxx/workspace/xxx
Options: noallwrite clobber nocompress unlocked nomodtime normdir
SubmitOptions: submitunchanged
LineEnd: local
View:
//depot/stream/Jenkinsfile //xxx/Jenkinsfile
Please fix.
Thank you