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