How to hide the checkout scm step output in console output of Jenkins
Checkout scm has option to provide arguments like this and there is a quietoperation mode availabe
checkout([$class: 'SubversionSCM', additionalCredentials: [], locations: [[cancelProcessOnExternalsFail: true, credentialsId: '234243-45654-234randomstuff', depthOption: 'infinity', ignoreExternalsOption: true, local: '.', remote: 'https://starkindustries/ironman/superGlueForThanosFingers/repo']], **quietOperation: true,** workspaceUpdater: [$class: 'UpdateUpdater']])
You can also try this
checkout scm &> /dev/null
This will suppress stdout and stderr, unless the git command fails
or
If you want to checkout using git
git checkout origin master --quietgit checkout origin master --q
Which is an available option in git.
Hope it helps :)
Try this handy plugin:https://wiki.jenkins.io/display/JENKINS/Collapsing+Console+Sections+Plugin
It may not be super neat but, it can get the work done.