In fact, from Jenkins doc:
returnStdout
If checked, standard output from the task is returned as the step value as
a String, rather than being printed to the build log. (Standard error, if
any, will still be printed to the log.) You will often want to call .trim() on
the result to strip off a
On Thu, Feb 16, 2017 at 8:23 AM, Geethalakshmi Ramachandran
wrote:
> A jenkins pipeline calls an API that returns metrics and prints it in the
> console output with formatting. However, Jenkins pipeline prints standard
> output for each command like below: How to disable this or turn it off?
A jenkins pipeline calls an API that returns metrics and prints it in the
console output with formatting. However, Jenkins pipeline prints standard
output for each command like below: How to disable this or turn it off?
Hide quoted text
[Pipeline] sh
[Rel _pipeline] Running shell script