• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • p4-plugin 1.10.4
      Jenkins 1.176.1

      When 'quiet' is set to true 'p4 reconcile' and preferably other commands also need to have the file list quashed.

      For example hide the 'refreshed' below :

      P4 Task: cleaning workspace to match have list.
      ... p4 reconcile -f -w /var/lib/jenkins/workspace/Pipeline_Quiet_True/... -p4 reconcile -f -w /var/lib/jenkins/workspace/Pipeline_Quiet_True/...
      
      //depot/Project1/sub1/f564#1 - /var/lib/jenkins/workspace/Pipeline_Quiet_True/sub1/f564 refreshed
      duration: (2ms)
      
      P4 Task: syncing files at change: 565
      ... p4 sync -q /var/lib/jenkins/workspace/Pipeline_Quiet_True/...@565 -p4 sync -q /var/lib/jenkins/workspace/Pipeline_Quiet_True/...@565
      duration: (2ms)
      

      Code:

      pipeline {
        agent { label 'master' }
        stages {
          stage("Repro") {
            steps {
      	p4sync charset: 'none', credential: 'JenkinsMaster', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource('//depot/Project1/...')
            }
          }
        }
      

      When there are a few files to be reconciled it's not a problem but when there are 1000's this overloads the logs making them difficult to work with and diagnose problems.

       

          [JENKINS-59750] Quiet all Perforce output when quiet:true.

          Karl Wirth created issue -
          Karl Wirth made changes -
          Summary Original: Quiet all Perforce file list output when quiet:false. New: Quiet all Perforce file list output when quiet:true.
          Karl Wirth made changes -
          Summary Original: Quiet all Perforce file list output when quiet:true. New: Quiet all Perforce output when quiet:true.
          Karl Wirth made changes -
          Labels Original: P4_VERIFY New: P4_B P4_VERIFY
          Karl Wirth made changes -
          Labels Original: P4_B P4_VERIFY New: P4_A P4_VERIFY
          Paul Allen made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Paul Allen made changes -
          Assignee New: Paul Allen [ p4paul ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]
          Karl Wirth made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Karl Wirth made changes -
          Attachment New: image-2021-02-11-16-52-17-151.png [ 53980 ]
          Karl Wirth made changes -
          Attachment New: console.txt [ 53981 ]
          Karl Wirth made changes -
          Attachment New: image-2021-02-12-11-38-53-284.png [ 53990 ]

            p4paul Paul Allen
            p4karl Karl Wirth
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: