Attempting to run esrally commands as a Jenkins job using a docker container. I simply want to see the output printed out in the Jenkins console. For simple commands like "esrally --version" or "esrally --help" this works fine. When invoking a subcommand like "esrally list tracks" or ultimately running a race, there is no output.
Taking Jenkins out of the picture, I tried to simply redirect to a file and as expected the following worked:
esrally --version > output.txt
esrally --help > output.txt
But the following produced only empty files:
esrally list tracks > output.txt
So it appears when invoking subcommands, the output is not actually going to stdout? Is there a way around this? I know of the --report-file option, but that only works if the command is successful only when running a track, and will not produce a report for subcommands or if the track fails.
Appreciate any help if anyone has experienced something similar.