Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49041

clobber is always true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • 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

            p4paul Paul Allen
            lystor Mykola Ulianytskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: