[JIRA] (JENKINS-59750) Quiet all Perforce file list output when quiet:false.

1 view
Skip to first unread message

kwirth@perforce.com (JIRA)

unread,
Oct 11, 2019, 11:17:01 AM10/11/19
to jenkinsc...@googlegroups.com
Karl Wirth created an issue
 
Jenkins / Improvement JENKINS-59750
Quiet all Perforce file list output when quiet:false.
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: p4-plugin
Created: 2019-10-11 15:16
Environment: p4-plugin 1.10.4
Jenkins 1.176.1
Labels: P4_VERIFY
Priority: Major Major
Reporter: Karl Wirth

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.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages