I have to prevent the console log in jenkinsfile for bat command. i.e I want to prevent some execution result from bat command
def test = bat(script: command, returnStdout: true).trim()
but it prints the command output in the bat pipeline.
[branch-name] Running batch script
[Pipeline] bat
Some output lines from bat command
Is it possible to prevent this command log in jenkins output?