Need to adjust Jenkins pipeline logs using Groovy syntax at each stage

12 views
Skip to first unread message

anilkumar panditi

unread,
Nov 1, 2021, 9:39:06 AM11/1/21
to Jenkins Users
Hi,
I am working on below to suppress Jenkins pipeline logs using Groovy syntax at each stage, like for Initialization or Build stage we need to log only "ERROR" level. 
and for Deployment Stage we need to log DEBUG level logs..

And don't want to print each and every message in console output.

Thanks,
Anil
Reply all
Reply to author
Forward
0 new messages