23

When I run an sdkmanager command like sdkmanager "build-tools;26.0.1" it spits out hundreds of lines in Jenkins console because of the download progress bar. Is there a way to hide it or put it in quiet mode?

I don't see an option in sdkmanager --help output. I'm considering piping the output to /dev/null.

Kevin Brotcke
  • 3,765
  • 26
  • 34

2 Answers2

12

I ended up hiding the progress bar with grep.

sdkmanager --update | grep -v = || true
Kevin Brotcke
  • 3,765
  • 26
  • 34
3

As of now the documentation lists all the arguments and there is no --silent. Pipeing it to /dev/null to silence it can be a solution.

Flekken
  • 61
  • 1
  • 5