sh option returnStdout returns both Stdout and Stderr

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Steps to recreate:
      In a groovy script contained in the vars folder of a shared lib, call sh(returnStdout: true, "Someshellscript.sh")
      If you read the returned string as a hexdump, you'll find all of the stderr and stdout of Someshellscript.sh contianed in the string

            Assignee:
            Unassigned
            Reporter:
            Ronald Tice
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: