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

Add quiet option to p4publish

XMLWordPrintable

      P4Publish displays all the files it syncs when running the 'sync -k' for p4publish. If the workspace is large this can overwhelm the logs. Would be good if it had a 'quiet' flag to disable this display.

      Example output for workspace with only 8 files:

      P4 Task: establishing connection.
      ... server: 192.168.1.203:1666
      ... node: vm-swarm212-bionic
      P4 Task: reconcile files to changelist.
      ... p4 revert -k //jenkins-master-Publish-0/... +
      ... p4 sync -k //jenkins-master-Publish-0/... -
      p4 sync -k //jenkins-master-Publish-0/...
      ... totalFileSize 360
      ... totalFileCount 8
      //depot/publish/main/f2377#1 - added as /var/lib/jenkins/workspace/Publish/f2377
      //depot/publish/main/f2378#1 - added as /var/lib/jenkins/workspace/Publish/f2378
      //depot/publish/main/f2379#1 - added as /var/lib/jenkins/workspace/Publish/f2379
      //depot/publish/main/f2380#1 - added as /var/lib/jenkins/workspace/Publish/f2380
      //depot/publish/main/f2381#1 - added as /var/lib/jenkins/workspace/Publish/f2381
      //depot/publish/main/f2382#1 - added as /var/lib/jenkins/workspace/Publish/f2382
      //depot/publish/main/f2383#1 - added as /var/lib/jenkins/workspace/Publish/f2383
      //depot/publish/main/f2384#1 - added as /var/lib/jenkins/workspace/Publish/f2384
      ... p4 reconcile -e -a -f //jenkins-master-Publish-0/... -
      p4 reconcile -e -a -f //jenkins-master-Publish-0/...
      //jenkins-master-Publish-0/... - no file(s) to reconcile.
      ... p4 opened -Cjenkins-master-Publish-0 //jenkins-master-Publish-0/... -
      p4 opened -Cjenkins-master-Publish-0 //jenkins-master-Publish-0/...
      

       

       

            Unassigned Unassigned
            p4karl Karl Wirth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: