How do I turn off command echo in Jenkins pipeline groovy scripts

Viewed 4542

Is there a way to turn off command echos in Jenkins Pipeline groovy scripts? The only answers seem to be adding the set +/- for shell commands. I want to do this for all pipeline dsl commands.

I would like to suppress lines like the following, as they clutter up the output log:

    [Pipeline] ansiColor
    [Pipeline] {
    [Pipeline] timestamps
    [Pipeline] {
    [Pipeline] node
    [Pipeline] {
    [Pipeline] stage
0 Answers
Related