echo step should use toString

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

XMLWordPrintable

      The echo command requires a String or GString to be passed to it (perhaps CharSequence?), and it fails with an obscure error about not having an @DataBoundConstructor otherwise.

      Instead, the usual API for some sort of print(Object) is to use toString(), and the echo command should invoke Object#toString() if it gets an argument that it doesn't recognize.

            Assignee:
            Unassigned
            Reporter:
            Christopher Smith
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: