Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52768

echo step should use toString

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              chrylis Christopher Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: