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

clobber is always true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
      None
    • Environment:
      P4 Plugin 1.8.4
      Jenkins ver. 2.87
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          lystor Mykola Ulianytskyi created issue -
          p4paul Paul Allen made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Won't Do [ 10001 ]
          p4paul Paul Allen made changes -
          Resolution Won't Do [ 10001 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Assignee Paul Allen [ p4paul ]
          p4paul Paul Allen made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          lystor Mykola Ulianytskyi made changes -
          Description Hello

          P4 plugin always creates workspaces with 'clobber: true' even if 'clobber: false' was specified.

          Example:
          {code:java}
          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")))
          }
          {code}
           

           
          {code:java}
          > p4 workspace -o xxx

          Client: xxx
          Owner: build_gamek02
          Root: /home/warface/workspace/xxx
          Options: noallwrite clobber nocompress unlocked nomodtime normdir
          SubmitOptions: submitunchanged
          LineEnd: local
          View:
          //depot/stream/Jenkinsfile //xxx/Jenkinsfile
          {code}
          Please fix.

          Thank you
          Hello

          P4 plugin always creates workspaces with 'clobber: true' even if 'clobber: false' was specified.

          Example:
          {code:java}
          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")))
          }
          {code}
           

           
          {code:java}
          > 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
          {code}
          Please fix.

          Thank you

            People

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

              Dates

              • Created:
                Updated:
                Resolved: