-
Improvement
-
Resolution: Unresolved
-
Trivial
-
None
-
CloudBees Jenkins Enterprise 2.7.19.0.1
Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline]
[Pipeline] node Running on Agent1 in C:\Jenkins\workspace\TEST JOB [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withCredentials [Pipeline] { [Pipeline] bat [TEST JOB] Running batch script [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node
Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as it adds too much information to our output. Ideally this should read:
Running on Agent1 in C:\Jenkins\workspace\TEST JOB [TEST JOB] Running batch script
- relates to
-
JENKINS-38381 [JEP-210] Optimize log handling in Pipeline and Durable Task
-
- Resolved
-
- links to
[JENKINS-41845] Suppress default pipeline output
Description |
Original:
Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline] {code:java} [Pipeline] node Running on Agent1 in C:\Jenkins\workspace\TEST JOB [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withCredentials [Pipeline] { [Pipeline] bat [TEST JOB] Running batch script [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node {code} Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as is add too much information to our output. Ideally this should read: {code:java} Running on Agent1 in C:\Jenkins\workspace\TEST JOB [TEST JOB] Running batch script {code} |
New:
Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline] {code:java} [Pipeline] node Running on Agent1 in C:\Jenkins\workspace\TEST JOB [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withCredentials [Pipeline] { [Pipeline] bat [TEST JOB] Running batch script [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node {code} Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as it adds too much information to our output. Ideally this should read: {code:java} Running on Agent1 in C:\Jenkins\workspace\TEST JOB [TEST JOB] Running batch script {code} |
Component/s | New: workflow-step-api-plugin [ 21718 ] | |
Component/s | Original: pipeline [ 21692 ] |
Component/s | New: workflow-job-plugin [ 21716 ] | |
Component/s | Original: workflow-step-api-plugin [ 21718 ] | |
Labels | Original: pipeline |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Remote Link | New: This issue links to "Workflow-job #90 (Web Link)" [ 20392 ] |
Please file issues under the component pipeline if you do not actually know the plugin implementing a given aspect of behavior.